aboutsummaryrefslogtreecommitdiffstats
path: root/railties/environments/test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/environments/test.rb')
-rw-r--r--railties/environments/test.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/railties/environments/test.rb b/railties/environments/test.rb
index 1e709e1d19..496eb9572b 100644
--- a/railties/environments/test.rb
+++ b/railties/environments/test.rb
@@ -20,3 +20,8 @@ config.action_controller.allow_forgery_protection = false
# The :test delivery method accumulates sent emails in the
# ActionMailer::Base.deliveries array.
config.action_mailer.delivery_method = :test
+
+# Use SQL instead of Active Record's schema dumper when creating the test database.
+# This is necessary if your schema can't be completely dumped by the schema dumper,
+# like if you have constraints or database-specific column types
+# config.active_record.schema_format = :sql \ No newline at end of file