contentdb/migrations/versions/7f166b5218d7_.py
2020-12-05 02:20:21 +00:00

25 lines
531 B
Python

"""empty message
Revision ID: 7f166b5218d7
Revises: 3f5836a3df5c
Create Date: 2020-12-05 00:06:41.466562
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '7f166b5218d7'
down_revision = '3f5836a3df5c'
branch_labels = None
depends_on = None
def upgrade():
op.add_column('user_email_verification', sa.Column('is_password_reset', sa.Boolean(), nullable=False, server_default="false"))
def downgrade():
op.drop_column('user_email_verification', 'is_password_reset')