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…
Reference in new issue