Skip to content

Commit

Permalink
Use older version for migrations. Fixes #395
Browse files Browse the repository at this point in the history
  • Loading branch information
excid3 committed Jan 31, 2024
1 parent 713598d commit 3fd064f
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
### Unreleased

### 2.1.2

* Fix counter cache migration version for older Rails

### 2.1.1

* Fix duplicate column in migrations.
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
noticed (2.1.1)
noticed (2.1.2)
rails (>= 6.1.0)

GEM
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class AddNotificationsCountToNoticedEvent < ActiveRecord::Migration[7.1]
class AddNotificationsCountToNoticedEvent < ActiveRecord::Migration[6.1]
def change
add_column :noticed_events, :notifications_count, :integer
end
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_6_1.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
noticed (2.1.1)
noticed (2.1.2)
rails (>= 6.1.0)

GEM
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_7.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
noticed (2.1.1)
noticed (2.1.2)
rails (>= 6.1.0)

GEM
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_7_1.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
noticed (2.1.1)
noticed (2.1.2)
rails (>= 6.1.0)

GEM
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_main.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ GIT
PATH
remote: ..
specs:
noticed (2.1.1)
noticed (2.1.2)
rails (>= 6.1.0)

GEM
Expand Down
2 changes: 1 addition & 1 deletion lib/noticed/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Noticed
VERSION = "2.1.1"
VERSION = "2.1.2"
end

0 comments on commit 3fd064f

Please sign in to comment.