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
This commit is contained in:
parent
1f978a3f28
commit
f485f03f0c
2 changed files with 36 additions and 6 deletions
28
alembic/versions/4b8ce290f890_ofxaccount_account_id.py
Normal file
28
alembic/versions/4b8ce290f890_ofxaccount_account_id.py
Normal file
|
@ -0,0 +1,28 @@
|
|||
"""ofxaccount account_id
|
||||
|
||||
Revision ID: 4b8ce290f890
|
||||
Revises: 2d295ac0fc07
|
||||
Create Date: 2016-06-23 08:32:42.429402
|
||||
|
||||
"""
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = '4b8ce290f890'
|
||||
down_revision = '2d295ac0fc07'
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
def upgrade():
|
||||
### commands auto generated by Alembic - please adjust! ###
|
||||
op.add_column('ofxaccount', sa.Column('account_id', sa.String(length=255), nullable=False))
|
||||
### end Alembic commands ###
|
||||
|
||||
|
||||
def downgrade():
|
||||
### commands auto generated by Alembic - please adjust! ###
|
||||
op.drop_column('ofxaccount', 'account_id')
|
||||
### end Alembic commands ###
|
Loading…
Add table
Add a link
Reference in a new issue