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

15 lines
275 B
Ruby
Raw Normal View History

# frozen_string_literal:true
class CreateSpaces < ActiveRecord::Migration[4.2]
2017-02-13 14:38:28 +01:00
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