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

9 lines
224 B
Ruby
Raw Normal View History

# frozen_string_literal:true
class AddAvailabilityIdToReservation < ActiveRecord::Migration[4.2]
2016-03-23 18:39:41 +01:00
def change
add_column :reservations, :availability_id, :integer
add_index :reservations, :availability_id
end
end