mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-12 23:09:03 +01:00
6 lines
148 B
Ruby
6 lines
148 B
Ruby
class AddInvoiceIdToOrder < ActiveRecord::Migration[5.2]
|
|
def change
|
|
add_reference :orders, :invoice, index: true, foreign_key: true
|
|
end
|
|
end
|