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.
10 lines
284 B
10 lines
284 B
2 years ago
|
class AddParentChildRelationships < ActiveRecord::Migration[7.0]
|
||
|
def change
|
||
|
create_table :organisation_relationships do |t|
|
||
|
t.integer :child_organisation_id, foreign_key: true
|
||
|
t.integer :parent_organisation_id, foreign_key: true
|
||
|
t.timestamps
|
||
|
end
|
||
|
end
|
||
|
end
|