From: Claire Date: Tue, 15 Mar 2022 19:27:49 +0000 (+0100) Subject: Fix PgHero suggesting migrations (#17807) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=895212bb2f05762453ab14c9424e80bae169b75d;p=mastodon.git Fix PgHero suggesting migrations (#17807) * Fix PgHero suggesting migrations Fixes #17768 * Keep migration suggestions in development env --- 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?