1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
fab-manager/db/migrate/20150429093734_create_availabilities.rb
2015-05-05 03:10:25 +02:00

13 lines
260 B
Ruby

class CreateAvailabilities < ActiveRecord::Migration
def change
create_table :availabilities do |t|
t.datetime :start_at
t.datetime :end_at
t.string :available_type
t.integer :nb_total_places
t.timestamps
end
end
end