From 115b21867443f1d2b85b1930615f1f0912b2e6cc Mon Sep 17 00:00:00 2001 From: brunoparma88 <53717512+brunoparma88@users.noreply.github.com> Date: Fri, 29 Sep 2023 08:39:29 -0300 Subject: [PATCH] update gemfile --- Gemfile | 2 +- Gemfile.lock | 6 +++--- config/initializers/strong_migrations.rb | 3 +-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Gemfile b/Gemfile index a8f31f88..25f112f0 100644 --- a/Gemfile +++ b/Gemfile @@ -29,7 +29,7 @@ gem 'rack-cors', '~> 2.0' gem 'sass-rails', '~> 6.0.0' gem 'sendgrid', '~> 1.2.4' gem 'sprockets', '~> 4.2.1' -gem 'strong_migrations', '~> 0.7.6' +gem 'strong_migrations', '~> 1.6', '>= 1.6.3' gem 'yaaf', '~> 2.2' # Use Redis adapter to run Action Cable in production # gem 'redis', '~> 4.0' diff --git a/Gemfile.lock b/Gemfile.lock index b8ad462f..59f20009 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -474,8 +474,8 @@ GEM actionpack (>= 5.2) activesupport (>= 5.2) sprockets (>= 3.0.0) - strong_migrations (0.7.9) - activerecord (>= 5) + strong_migrations (1.6.3) + activerecord (>= 5.2) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) thor (1.2.2) @@ -558,7 +558,7 @@ DEPENDENCIES simplecov (~> 0.22.0) spring (~> 4.1) sprockets (~> 4.2.1) - strong_migrations (~> 0.7.6) + strong_migrations (~> 1.6, >= 1.6.3) tzinfo-data uglifier (~> 4.2) webmock (~> 3.19) diff --git a/config/initializers/strong_migrations.rb b/config/initializers/strong_migrations.rb index fdb95456..9876e366 100644 --- a/config/initializers/strong_migrations.rb +++ b/config/initializers/strong_migrations.rb @@ -1,10 +1,9 @@ # frozen_string_literal: true # To mark migrations as safe that were created before installing this gem -# StrongMigrations.start_after = 20250101000000 # Disabled By default #2030/01/01 +StrongMigrations.start_after = 20300101000000 # Disabled By default #2030/01/01 # Analyze tables automatically (to update planner statistics) after an index is added StrongMigrations.auto_analyze = true - StrongMigrations.lock_timeout = 10.seconds StrongMigrations.statement_timeout = 1.hour