迁移报错

issues25489
daiao 5 years ago
parent e6b489b6ca
commit 5f39b152cb

@ -1,13 +1,13 @@
class CreateCompetitionPrizes < ActiveRecord::Migration[5.2]
def change
create_table :competition_prizes do |t|
t.references :competition
t.string :name
t.string :category
t.integer :num
t.timestamps
end
# create_table :competition_prizes do |t|
# t.references :competition
#
# t.string :name
# t.string :category
# t.integer :num
#
# t.timestamps
# end
end
end

Loading…
Cancel
Save