discourse/config/environments
David Taylor 65164bf189
FIX: Do not dump schema during production database migrations (#12785)
It's important that we don't perform pg_dumps against databases
running behind pgbouncer.

We had an old monkey-patch to prevent this, but following some [recent
internal rails refactoring](5488686851),
the patch no longer works. Instead, we can use the official
`config.active_record.dump_schema_after_migration` option.

Setting this to false in production is recommended by Rails, and is the
default for newly generated Rails applications.
2021-04-21 16:26:20 +01:00
..
development.rb DEV: include cors header to public file server in dev environment. (#11007) 2020-10-26 17:45:35 +05:30
production.rb FIX: Do not dump schema during production database migrations (#12785) 2021-04-21 16:26:20 +01:00
profile.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
test.rb REFACTOR: Move javascript tests inside discourse app 2020-10-02 11:29:36 -04:00