clarion/db/migrate/20141012100900_create_halls.rb

11 lines
196 B
Ruby

class CreateHalls < ActiveRecord::Migration[4.2]
def change
create_table :halls do |t|
t.references :conference, index: true
t.string :name
t.timestamps
end
end
end