mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-29 10:24:20 +01:00
13 lines
260 B
Ruby
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
|