1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-10 21:24:20 +01:00
fab-manager/db/migrate/20140711084809_change_event.rb
2016-03-23 18:39:41 +01:00

11 lines
351 B
Ruby

class ChangeEvent < ActiveRecord::Migration
def change
add_column :events, :availability_id, :integer
add_index :events, :availability_id
add_column :events, :amount, :integer
add_column :events, :reduced_amount, :integer
add_column :events, :nb_total_places, :integer
add_column :events, :nb_free_places, :integer
end
end