parent
e6b489b6ca
commit
5f39b152cb
@ -1,13 +1,13 @@
|
|||||||
class CreateCompetitionPrizes < ActiveRecord::Migration[5.2]
|
class CreateCompetitionPrizes < ActiveRecord::Migration[5.2]
|
||||||
def change
|
def change
|
||||||
create_table :competition_prizes do |t|
|
# create_table :competition_prizes do |t|
|
||||||
t.references :competition
|
# t.references :competition
|
||||||
|
#
|
||||||
t.string :name
|
# t.string :name
|
||||||
t.string :category
|
# t.string :category
|
||||||
t.integer :num
|
# t.integer :num
|
||||||
|
#
|
||||||
t.timestamps
|
# t.timestamps
|
||||||
end
|
# end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in new issue