1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00
fab-manager/db/migrate/20160720124355_add_wallet_transaction_to_invoice.rb

6 lines
166 B
Ruby

class AddWalletTransactionToInvoice < ActiveRecord::Migration
def change
add_reference :invoices, :wallet_transaction, index: true, foreign_key: true
end
end