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

9 lines
224 B
Ruby

# frozen_string_literal:true
class AddAvailabilityIdToReservation < ActiveRecord::Migration[4.2]
def change
add_column :reservations, :availability_id, :integer
add_index :reservations, :availability_id
end
end