nopaque/migrations/versions/69f5d9c59c34_.py

29 lines
656 B
Python
Raw Normal View History

"""empty message
Revision ID: 69f5d9c59c34
Revises: 0d4e0dde8ae4
Create Date: 2019-07-08 15:22:12.342890
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '69f5d9c59c34'
down_revision = '0d4e0dde8ae4'
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.add_column('users', sa.Column('confirmed', sa.Boolean(), nullable=True))
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column('users', 'confirmed')
# ### end Alembic commands ###