11 lines
295 B
Ruby
11 lines
295 B
Ruby
|
class CreateFinancialLinks < ActiveRecord::Migration
|
||
|
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
|