1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
fab-manager/db/migrate/20230718134350_add_reservation_context_id_to_reservation.rb
Nicolas Florentin 043ff6d47e wip
2023-07-20 16:55:22 +02:00

6 lines
183 B
Ruby

class AddReservationContextIdToReservation < ActiveRecord::Migration[7.0]
def change
add_reference :reservations, :reservation_context, index: true, foreign_key: true
end
end