mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 17:01:44 +02:00
Add accounts and activities
This commit is contained in:
parent
fb318e37cb
commit
b5521594ce
8 changed files with 170 additions and 1 deletions
13
db/migrate/20150410132037_create_account_activities.rb
Normal file
13
db/migrate/20150410132037_create_account_activities.rb
Normal file
|
@ -0,0 +1,13 @@
|
|||
class CreateAccountActivities < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :account_activites do |t|
|
||||
t.integer :account_id
|
||||
t.integer :invoice_id
|
||||
t.decimal :amount
|
||||
t.string :currency
|
||||
t.integer :bank_transaction_id
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue