parent
bf117d2dad
commit
27d6c91a5b
@ -0,0 +1,5 @@
|
|||||||
|
class AddLaboratoryIdToCourses < ActiveRecord::Migration[5.2]
|
||||||
|
def change
|
||||||
|
add_reference :courses, :laboratory, null: true
|
||||||
|
end
|
||||||
|
end
|
@ -0,0 +1,5 @@
|
|||||||
|
class AddLaboratoryIdToCompetitions < ActiveRecord::Migration[5.2]
|
||||||
|
def change
|
||||||
|
add_reference :competitions, :laboratory
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in new issue