2020-08-07 01:14:14 +02:00
|
|
|
class CreateFinancialLinks < ActiveRecord::Migration[4.2]
|
2017-10-13 14:36:56 +02:00
|
|
|
def change
|
|
|
|
create_table :financial_links do |t|
|
|
|
|
t.text :note
|
|
|
|
end
|
|
|
|
|
|
|
|
add_column :financial_transactions, :financial_link_id, :integer, index: true
|
|
|
|
add_column :invoices, :financial_link_id, :integer, index: true
|
|
|
|
end
|
|
|
|
end
|