Skip to content

Commit 10f7c4b

Browse files
authored
Update 20230526211831_create_active_storage_tables.active_storage.rb
1 parent e44d69d commit 10f7c4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

db/migrate/20230526211831_create_active_storage_tables.active_storage.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def change
1919
t.index [:key], unique: true
2020
end
2121

22-
create_table :active_storage_attachments, id: primary_key_typ, if_not_exists: true do |t|
22+
create_table :active_storage_attachments, id: primary_key_type, if_not_exists: true do |t|
2323
t.string :name, null: false
2424
t.references :record, null: false, polymorphic: true, index: false, type: foreign_key_type
2525
t.references :blob, null: false, type: foreign_key_type

0 commit comments

Comments
 (0)