mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 03:58:27 +02:00
Add accounts and activities
This commit is contained in:
parent
fb318e37cb
commit
b5521594ce
8 changed files with 170 additions and 1 deletions
22
db/migrate/20150413080832_create_bank_transactions.rb
Normal file
22
db/migrate/20150413080832_create_bank_transactions.rb
Normal file
|
@ -0,0 +1,22 @@
|
|||
class CreateBankTransactions < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :bank_transactions do |t|
|
||||
t.integer :bank_statement_id
|
||||
t.string :subject_code
|
||||
# record_code # kirjetunnus - ei kasuta? # impordime ainult tehingud nagunii
|
||||
t.string :bank_reference # panga viide
|
||||
t.string :tr_code # tehingu liik (MK / MV)
|
||||
t.string :iban # own bank account no.
|
||||
t.string :currency
|
||||
t.string :other_party_bank
|
||||
t.string :other_party_name
|
||||
t.string :doc_no
|
||||
t.string :description
|
||||
#tr_type # C/D # impordime ainult cre nagunii
|
||||
t.decimal :amount
|
||||
t.string :reference_no
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue