automated imports.

This commit is contained in:
BC
2018-06-14 23:16:10 -07:00
parent a17b6b9688
commit 80112d08a7
19 changed files with 458 additions and 71 deletions

View File

@@ -1,2 +1,2 @@
-- 1529005616 DOWN add-yodleee-staging
drop table yodlee_imports;
drop table transactions;

View File

@@ -1,5 +1,5 @@
-- 1529005616 UP add-yodleee-staging
create table yodlee_imports (
create table transactions (
amount decimal,
description_original varchar(255),
description_simple varchar (255),
@@ -10,6 +10,10 @@ date timestamp,
post_date timestamp,
type varchar(255),
account_id int,
status varchar(255));
status varchar(255),
vendor_id int references vendors(id),
company_id int references companies(id),
check_id int references checks(id)
);