1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-12 23:09:03 +01:00
fab-manager/db/migrate/20170213100744_create_spaces.rb

13 lines
240 B
Ruby
Raw Normal View History

2017-02-13 14:38:28 +01:00
class CreateSpaces < ActiveRecord::Migration
def change
create_table :spaces do |t|
t.string :name
t.integer :default_places
t.text :description
t.string :slug
t.timestamps null: false
end
end
end