1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00
fab-manager/db/migrate/20230728090257_add_space_id_to_machines.rb
2023-08-24 14:41:29 +02:00

6 lines
149 B
Ruby

class AddSpaceIdToMachines < ActiveRecord::Migration[7.0]
def change
add_reference :machines, :space, foreign_key: true, index: true
end
end