mirror of
https://github.com/simple-login/app.git
synced 2024-11-18 09:50:38 +01:00
29 lines
719 B
Python
29 lines
719 B
Python
"""empty message
|
|
|
|
Revision ID: cfc013b6461a
|
|
Revises: 4a7d35941602
|
|
Create Date: 2020-05-27 14:11:16.016417
|
|
|
|
"""
|
|
import sqlalchemy_utils
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = 'cfc013b6461a'
|
|
down_revision = '4a7d35941602'
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.add_column('alias', sa.Column('cannot_be_disabled', sa.Boolean(), server_default='0', nullable=False))
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.drop_column('alias', 'cannot_be_disabled')
|
|
# ### end Alembic commands ###
|