mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
11 lines
281 B
Ruby
11 lines
281 B
Ruby
class CreateContinentLandmarks < ActiveRecord::Migration[6.0]
|
|
def change
|
|
create_table :continent_landmarks do |t|
|
|
t.references :continent, null: false, foreign_key: true
|
|
t.references :landmark, null: false, foreign_key: true
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|