2
0
mirror of https://github.com/codl/forget synced 2025-01-10 06:32:54 +01:00
forget-cancellare-vecchi-toot/migrations/versions/3a0138499994_add_reason_to_account.py

25 lines
461 B
Python

"""add reason to account
Revision ID: 3a0138499994
Revises: 41ef02e66382
Create Date: 2017-09-02 19:46:14.035946
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '3a0138499994'
down_revision = '41ef02e66382'
branch_labels = None
depends_on = None
def upgrade():
op.add_column('accounts', sa.Column('reason', sa.String(), nullable=True))
def downgrade():
op.drop_column('accounts', 'reason')