Skip to content

Commit

Permalink
Fix problem with running migrations for activerecord 8.0.0.rc2
Browse files Browse the repository at this point in the history
  • Loading branch information
fatkodima committed Oct 30, 2024
1 parent 4cd3545 commit ad4a641
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## master (unreleased)

- Fix problem with running migrations for `activerecord` 8.0.0.rc2

## 0.20.0 (2024-10-21)

- Enhance columns removal check to check indexes `where` and `include` options
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/activerecord_80.gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

@ar_gem_requirement = "~> 8.0.0.rc1"
@ar_gem_requirement = "~> 8.0.0.rc2"

eval_gemfile "../Gemfile"
2 changes: 1 addition & 1 deletion lib/online_migrations/database_tasks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
module OnlineMigrations
# @private
module DatabaseTasks
def migrate(*)
def migrate(*, **)
super
rescue => e
if e.cause.is_a?(OnlineMigrations::Error)
Expand Down

0 comments on commit ad4a641

Please sign in to comment.