about summary refs log tree commit diff
path: root/config/initializers
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-03-15 20:27:49 +0100
committerGitHub <noreply@github.com>2022-03-15 20:27:49 +0100
commit895212bb2f05762453ab14c9424e80bae169b75d (patch)
treea4504a93da7bcf32c13ad760ec9e60c158d9b105 /config/initializers
parent9b139d4ef9105d31292566e8c210759a2da5e0f7 (diff)
Fix PgHero suggesting migrations (#17807)
* Fix PgHero suggesting migrations

Fixes #17768

* Keep migration suggestions in development env
Diffstat (limited to 'config/initializers')
-rw-r--r--config/initializers/pghero.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/initializers/pghero.rb b/config/initializers/pghero.rb
new file mode 100644
index 000000000..0c77d6d0f
--- /dev/null
+++ b/config/initializers/pghero.rb
@@ -0,0 +1 @@
+PgHero.show_migrations = Rails.env.development?