diff --git a/Gemfile b/Gemfile index a8f2513fb..1b73fe98c 100644 --- a/Gemfile +++ b/Gemfile @@ -100,7 +100,7 @@ gem "sprockets", "~> 4.0" # Sprockets is a Rack-based asset packaging system gem "staccato", "~> 0.5" # Ruby Google Analytics Measurement gem "storext", "~> 3.1" # Add type-casting and other features on top of ActiveRecord::Store.store_accessor gem "stripe", "~> 5.22" # Ruby library for the Stripe API -gem "strong_migrations", "~> 0.6" # Catch unsafe migrations +gem "strong_migrations", "~> 0.7" # Catch unsafe migrations gem "timber", "~> 3.0" # Great Ruby logging made easy gem "timber-rails", github: "timberio/timber-ruby-rails", branch: "master" # Timber integration for Rails gem "twilio-ruby", "~> 5.39" # The official library for communicating with the Twilio REST API diff --git a/Gemfile.lock b/Gemfile.lock index d6b16603e..fcde7f044 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -796,7 +796,7 @@ GEM dante (>= 0.2.0) multi_json (~> 1.0) stripe (> 5, < 6) - strong_migrations (0.6.8) + strong_migrations (0.7.0) activerecord (>= 5) test-prof (0.12.0) thor (0.20.3) @@ -1016,7 +1016,7 @@ DEPENDENCIES storext (~> 3.1) stripe (~> 5.22) stripe-ruby-mock (~> 3.0) - strong_migrations (~> 0.6) + strong_migrations (~> 0.7) test-prof (~> 0.12) timber (~> 3.0) timber-rails! diff --git a/config/initializers/strong_migrations.rb b/config/initializers/strong_migrations.rb index 25b0ec9bb..0a8a27e72 100644 --- a/config/initializers/strong_migrations.rb +++ b/config/initializers/strong_migrations.rb @@ -1,8 +1,11 @@ # https://github.com/ankane/strong_migrations#existing-migrations StrongMigrations.start_after = 20_200_106_074_859 -# https://github.com/ankane/strong_migrations#removing-an-index +# https://github.com/ankane/strong_migrations#removing-an-index-non-concurrently StrongMigrations.enable_check(:remove_index) # https://github.com/ankane/strong_migrations#target-version StrongMigrations.target_postgresql_version = 11 + +# https://github.com/ankane/strong_migrations#down-migrations--rollbacks +StrongMigrations.check_down = true diff --git a/vendor/cache/strong_migrations-0.6.8.gem b/vendor/cache/strong_migrations-0.6.8.gem deleted file mode 100644 index 84a3dc693..000000000 Binary files a/vendor/cache/strong_migrations-0.6.8.gem and /dev/null differ diff --git a/vendor/cache/strong_migrations-0.7.0.gem b/vendor/cache/strong_migrations-0.7.0.gem new file mode 100644 index 000000000..a902f0524 Binary files /dev/null and b/vendor/cache/strong_migrations-0.7.0.gem differ