mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
20 lines
475 B
Ruby
20 lines
475 B
Ruby
class CreateLandmarks < ActiveRecord::Migration[4.2]
|
|
def change
|
|
create_table :landmarks do |t|
|
|
t.string :name
|
|
t.string :description
|
|
t.string :other_names
|
|
t.references :universe, index: true, foreign_key: true
|
|
t.string :size
|
|
t.string :materials
|
|
t.string :colors
|
|
t.string :creation_story
|
|
t.string :established_year
|
|
t.string :notes
|
|
t.string :private_notes
|
|
|
|
t.timestamps null: false
|
|
end
|
|
end
|
|
end
|