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

8 lines
201 B
Ruby

# frozen_string_literal:true
class AddWalletTransactionToInvoice < ActiveRecord::Migration[4.2]
def change
add_reference :invoices, :wallet_transaction, index: true, foreign_key: true
end
end