app-MAIL-temp/migrations/versions/2020_052820_b2d51e4d94c8_.py

30 lines
741 B
Python
Raw Normal View History

2020-05-28 20:38:38 +02:00
"""empty message
Revision ID: b2d51e4d94c8
Revises: cfc013b6461a
Create Date: 2020-05-28 20:37:54.991920
"""
import sqlalchemy_utils
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'b2d51e4d94c8'
down_revision = 'cfc013b6461a'
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column('users', 'can_use_fido')
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.add_column('users', sa.Column('can_use_fido', sa.BOOLEAN(), server_default=sa.text('false'), autoincrement=False, nullable=False))
# ### end Alembic commands ###