Disable schema dumping after migrations in production
The change from db/schema.rb
to db/structure.sql
requires pg_dump
,
which can fail if the pg_dump
version used is older than the
PostgreSQL server that is running.
We now disable schema dumping after migrations for production;
development still does this by default. This can be invoked directly via
rake db:schema:dump
.
This should address omnibus-gitlab#5299 (closed).
Edited by Yorick Peterse