1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-10 21:24:20 +01:00
fab-manager/db/migrate/20220909131300_add_invoice_id_to_order.rb

6 lines
148 B
Ruby
Raw Normal View History

2022-09-09 16:35:49 +02:00
class AddInvoiceIdToOrder < ActiveRecord::Migration[5.2]
def change
add_reference :orders, :invoice, index: true, foreign_key: true
end
end