From f963bfee92083e398544492f3da25ac69282a52c Mon Sep 17 00:00:00 2001 From: wvengen Date: Fri, 3 May 2019 10:35:29 +0200 Subject: [PATCH] Don't dump schema in production --- config/environments/production.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/environments/production.rb b/config/environments/production.rb index 39b19e53..4dd70597 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -61,6 +61,9 @@ Foodsoft::Application.configure do config.logger = ActiveSupport::TaggedLogging.new(logger) end + # Don't dump schema in production (especially useful for Docker) + config.active_record.dump_schema_after_migration = false + # Use a different cache store in production. # config.cache_store = :mem_cache_store