Skip to content

Commit

Permalink
Merge pull request #163 from gnumarcelo/set-migrations-to-be-rails-7-…
Browse files Browse the repository at this point in the history
…compatible

Update migrations to be compatible with Rails >= 7
  • Loading branch information
djmb authored Mar 12, 2024
2 parents 8bc68ce + e35b1f0 commit 40ea64c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class AddKeyHashAndByteSizeToSolidCacheEntries < ActiveRecord::Migration[7.1]
class AddKeyHashAndByteSizeToSolidCacheEntries < ActiveRecord::Migration[7.0]
def change
change_table :solid_cache_entries do |t|
t.column :key_hash, :integer, null: true, limit: 8
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class AddKeyHashAndByteSizeIndexesAndNullConstraintsToSolidCacheEntries < ActiveRecord::Migration[7.1]
class AddKeyHashAndByteSizeIndexesAndNullConstraintsToSolidCacheEntries < ActiveRecord::Migration[7.0]
def change
change_table :solid_cache_entries, bulk: true do |t|
t.change_null :key_hash, false
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class RemoveKeyIndexFromSolidCacheEntries < ActiveRecord::Migration[7.1]
class RemoveKeyIndexFromSolidCacheEntries < ActiveRecord::Migration[7.0]
def change
change_table :solid_cache_entries do |t|
t.remove_index :key, unique: true
Expand Down

0 comments on commit 40ea64c

Please sign in to comment.