Skip to content

Commit

Permalink
Merge pull request #391 from amatsuda/broken_migration_due_to_a_hashr…
Browse files Browse the repository at this point in the history
…ocket

Avoid using hashrocket for a kwarg in a migration file
  • Loading branch information
amatsuda authored Nov 14, 2024
2 parents a849251 + 98a449c commit 104726a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/migrate/20200223215131_create_versions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class CreateVersions < ActiveRecord::Migration[5.2]

def change
create_table :versions do |t|
t.string :item_type, {:null=>false}
t.string :item_type, null: false
t.integer :item_id, null: false, limit: 8
t.string :event, null: false
t.string :whodunnit
Expand Down

0 comments on commit 104726a

Please sign in to comment.