Add a name to each OFXAccount
So that users can identify their accounts with their own meaningful names
This commit is contained in:
parent
d17c592908
commit
91f89d2cbd
2 changed files with 25 additions and 0 deletions
24
alembic/versions/d68c4fbb811f_add_ofxaccount_t_name.py
Normal file
24
alembic/versions/d68c4fbb811f_add_ofxaccount_t_name.py
Normal file
|
@ -0,0 +1,24 @@
|
|||
"""add ofxaccount t name
|
||||
|
||||
Revision ID: d68c4fbb811f
|
||||
Revises: 6b5382ac7616
|
||||
Create Date: 2016-06-21 07:27:00.754391
|
||||
|
||||
"""
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = 'd68c4fbb811f'
|
||||
down_revision = '6b5382ac7616'
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
def upgrade():
|
||||
op.add_column('ofxaccount', sa.Column('name', sa.String(length=255), nullable=False))
|
||||
|
||||
|
||||
def downgrade():
|
||||
op.drop_column('ofxaccount', 'name')
|
Loading…
Add table
Add a link
Reference in a new issue