grantcallendar/db/migrate/20220829070257_create_locat...

11 lines
186 B
Ruby

class CreateLocations < ActiveRecord::Migration[5.2]
def change
create_table :locations do |t|
t.bigint :parent_id
t.string :name
t.timestamps
end
end
end