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

15 lines
275 B
Ruby

# frozen_string_literal:true
class CreateSpaces < ActiveRecord::Migration[4.2]
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