clarion/db/migrate/20141012100900_create_halls.rb

11 lines
196 B
Ruby
Raw Permalink Normal View History

class CreateHalls < ActiveRecord::Migration[4.2]
2014-10-12 13:26:07 +03:00
def change
create_table :halls do |t|
t.references :conference, index: true
t.string :name
t.timestamps
end
end
end