discourse/config/environments
David Taylor ad8c7714c8
DEV: Use filesystem-based SchemaCache in development (#12901)
In development we regularly restart/reload Rails, which wipes out the schema cache. This then has to be regenerated using DDL queries on the database.

Instead, we can make use of the `rake db:schema:cache:dump` command. This will dump the schema cache to a YAML file, and then load it when needed. This is significantly faster than rebuilding the cache from DDL queries every time.
2021-04-30 10:54:49 +01:00
..
development.rb DEV: Use filesystem-based SchemaCache in development (#12901) 2021-04-30 10:54:49 +01:00
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