12 lines
266 B
12 lines
266 B
5 years ago
|
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
|