aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-04-07 15:53:00 +0100
committerChristopher Baines <mail@cbaines.net>2018-04-12 19:05:31 +0100
commitd5ebf919839533daed5c785eb9b4855e768cb6dd (patch)
tree1ccda74652b5f4a18e5e5f8caefed86fe17067f5 /config
parentcefa86029c9d4fc4cffaa05d33da9c978dbb1c16 (diff)
downloadgovuk-mini-environment-admin-d5ebf919839533daed5c785eb9b4855e768cb6dd.tar
govuk-mini-environment-admin-d5ebf919839533daed5c785eb9b4855e768cb6dd.tar.gz
Switch to using SQL as the schema format
This is recommended by the Que library, but may come in useful elsewhere for PostgreSQL specific stuff.
Diffstat (limited to 'config')
-rw-r--r--config/application.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb
index ab4fa46..782ea37 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -16,5 +16,7 @@ module GovukMiniEnvironmentAdmin
# -- all .rb files in that directory are automatically loaded.
config.autoload_paths << "#{Rails.root}/lib"
+
+ config.active_record.schema_format = :sql
end
end