2013-10-09 05:10:03 +00:00
|
|
|
class CreateSpaces < ActiveRecord::Migration
|
|
|
|
def change
|
|
|
|
create_table :spaces do |t|
|
|
|
|
t.string :name
|
2013-10-09 10:34:27 +00:00
|
|
|
t.string :category
|
2013-10-09 05:10:03 +00:00
|
|
|
t.string :address
|
|
|
|
t.string :hours
|
|
|
|
t.string :phone
|
|
|
|
t.string :email
|
|
|
|
t.string :website
|
|
|
|
t.text :description
|
|
|
|
|
|
|
|
t.timestamps
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|