mirror of
https://github.com/simple-login/app.git
synced 2024-11-10 21:27:10 +01:00
30 lines
741 B
Python
30 lines
741 B
Python
"""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 ###
|