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.
educoder/db/migrate/20191024105504_create_compe...

12 lines
266 B

class CreateCompetitionSchools < ActiveRecord::Migration[5.2]
def change
create_table :competition_schools do |t|
t.references :competition, index: true
t.references :school, index: true
t.string :source
t.timestamps
end
end
end