From 895212bb2f05762453ab14c9424e80bae169b75d Mon Sep 17 00:00:00 2001 From: Claire Date: Tue, 15 Mar 2022 20:27:49 +0100 Subject: Fix PgHero suggesting migrations (#17807) * Fix PgHero suggesting migrations Fixes #17768 * Keep migration suggestions in development env --- config/initializers/pghero.rb | 1 + 1 file changed, 1 insertion(+) create mode 100644 config/initializers/pghero.rb (limited to 'config') 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? -- cgit