Fixes for offline mode

This commit is contained in:
Tom Hughes 2014-10-26 11:39:00 +00:00
parent 6f2dcedf71
commit b83c5b4b50

View file

@ -84,5 +84,7 @@ OpenStreetMap::Application.configure do
config.log_formatter = ::Logger::Formatter.new
# Do not dump schema after migrations.
config.active_record.dump_schema_after_migration = false
unless STATUS == :database_offline
config.active_record.dump_schema_after_migration = false
end
end