mirror of
https://github.com/internetee/registry.git
synced 2025-07-29 22:16:19 +02:00
5 lines
170 B
Ruby
5 lines
170 B
Ruby
class AddInvoiceItemsInvoiceIdFk < ActiveRecord::Migration[6.0]
|
|
def change
|
|
add_foreign_key :invoice_items, :invoices, name: 'invoice_items_invoice_id_fk'
|
|
end
|
|
end
|