AddInvoicesBuyerIdFk

This commit is contained in:
Artur Beljajev 2019-08-11 23:24:34 +03:00
parent f1b37853b9
commit b177b3eab2
2 changed files with 15 additions and 0 deletions

View file

@ -0,0 +1,5 @@
class AddInvoicesBuyerIdFk < ActiveRecord::Migration
def change
add_foreign_key :invoices, :registrars, column: :buyer_id
end
end