Initial commit
This commit is contained in:
16
db/migrate/20131009050712_create_spaces.rb
Normal file
16
db/migrate/20131009050712_create_spaces.rb
Normal file
@@ -0,0 +1,16 @@
|
||||
class CreateSpaces < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :spaces do |t|
|
||||
t.string :name
|
||||
t.string :type
|
||||
t.string :address
|
||||
t.string :hours
|
||||
t.string :phone
|
||||
t.string :email
|
||||
t.string :website
|
||||
t.text :description
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user