Eli Ribble
78d26b517c
Make ofxsource.bankid nullable
...
Turns out that the bank I picked first, AFCU, has a bankid. Not all
institutions have one
2016-07-20 15:33:55 -06:00
Eli Ribble
fe4836fb68
Add URL for OFX source
...
We need this to know where we are communicating with the API
2016-07-20 15:24:28 -06:00
Eli Ribble
459a1b2960
Update ofxrecord amount to valid monetary numeric type
...
We don't want no floats around here, this is money. This stuff matters.
I also took the time to align up my comments so they are purtier
2016-07-01 11:59:46 -06:00
Eli Ribble
8a2f7bae70
Add table for tracking OFX updates
...
This is how we'll know when we queries via OFX for different accounts
and how we'll populate the table showing when we last updated an account
2016-06-28 15:48:50 -06:00
Eli Ribble
f536f21d3c
Standardize columns in our table
...
Like when we last did an update and whether or not something is deleted.
Nice for cleanup and code reuse
2016-06-28 15:46:18 -06:00
Eli Ribble
f485f03f0c
Add the account ID to the ofxaccount table
...
This is how we'll store the account ID we need to send to the
institution to identify the account we want to pull records from
2016-06-23 08:32:55 -06:00
Eli Ribble
1f978a3f28
Add a foreign key from OFXRecord to the OFXAccount used to get it
...
This makes it easier to tie together our records to the accounts we used
to pull the record
2016-06-23 08:29:52 -06:00
Eli Ribble
91f89d2cbd
Add a name to each OFXAccount
...
So that users can identify their accounts with their own meaningful
names
2016-06-21 07:27:29 -06:00
Eli Ribble
d17c592908
Make every OFXAccount have an owner
...
That way we can split out accounts by the user that created them.
Y'know, like permissions for multi-tenancy
2016-06-21 07:13:14 -06:00
Eli Ribble
63a22e27e0
Add unique constraints on some of our tables
...
I just missed thinking about this originally
2016-05-18 15:41:04 -06:00
Eli Ribble
72758a0921
Fix initial migrations and add users table
...
Apparently I had screwed up the ofxaccount generation in the previous
version of the initial table creation
2016-05-17 10:30:04 -06:00
Eli Ribble
681a62bbf5
Get alembic up and running
...
I took a stab at a reasonable schema just to get started. For now I want
workflows that are working. I'll pound the thing into the correct shape
in time
2016-05-02 08:46:12 -06:00