mirror of
https://github.com/simple-login/app.git
synced 2024-11-16 17:08:30 +01:00
30 lines
731 B
Python
30 lines
731 B
Python
|
"""empty message
|
||
|
|
||
|
Revision ID: fa2f19bb4e5a
|
||
|
Revises: 52510a633d6f
|
||
|
Create Date: 2024-04-09 13:12:26.305340
|
||
|
|
||
|
"""
|
||
|
import sqlalchemy_utils
|
||
|
from alembic import op
|
||
|
import sqlalchemy as sa
|
||
|
|
||
|
|
||
|
# revision identifiers, used by Alembic.
|
||
|
revision = 'fa2f19bb4e5a'
|
||
|
down_revision = '52510a633d6f'
|
||
|
branch_labels = None
|
||
|
depends_on = None
|
||
|
|
||
|
|
||
|
def upgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
op.add_column('users', sa.Column('enable_data_breach_check', sa.Boolean(), server_default='0', nullable=False))
|
||
|
# ### end Alembic commands ###
|
||
|
|
||
|
|
||
|
def downgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
op.drop_column('users', 'enable_data_breach_check')
|
||
|
# ### end Alembic commands ###
|