about summary refs log tree commit diff
path: root/config/initializers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-09-25 02:11:14 +0200
committerGitHub <noreply@github.com>2017-09-25 02:11:14 +0200
commitb982d549f440cfebadd5dc8d300a506df213bfee (patch)
tree1f3bf571128ba5092345bc0de22b0038821deca4 /config/initializers
parent909a6d4661fbc79419e396076467aec6251b7af4 (diff)
Add strong_migrations gem to warn when creating unsafe migrations (#5078)
Diffstat (limited to 'config/initializers')
-rw-r--r--config/initializers/strong_migrations.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/initializers/strong_migrations.rb b/config/initializers/strong_migrations.rb
new file mode 100644
index 000000000..3d7beac9f
--- /dev/null
+++ b/config/initializers/strong_migrations.rb
@@ -0,0 +1,3 @@
+# frozen_string_literal: true
+
+StrongMigrations.start_after = 20170924022025 if Rails.env.development?