1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-30 19:52:20 +01:00
fab-manager/db/migrate/20190603123754_add_invoicing_profile_to_wallet.rb

7 lines
253 B
Ruby
Raw Normal View History

class AddInvoicingProfileToWallet < ActiveRecord::Migration
def change
add_reference :wallets, :invoicing_profile, index: true, foreign_key: true
add_reference :wallet_transactions, :invoicing_profile, index: true, foreign_key: true
end
end