You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
class CreateCompetitionAwards < ActiveRecord::Migration[5.2]
|
|
def change
|
|
create_table :competition_awards do |t|
|
|
t.references :competition, index: true
|
|
t.string :name
|
|
t.integer :num, default: 0
|
|
t.integer :award_type, default: 0
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|