Add FinancialLinks
For now this is only usefull for plugins, since there is no UI.
This commit is contained in:
parent
75deec9f06
commit
53bb096046
12 changed files with 95 additions and 7 deletions
10
db/migrate/20171002000000_create_financial_links.rb
Normal file
10
db/migrate/20171002000000_create_financial_links.rb
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue