mirror of
https://github.com/simple-login/app.git
synced 2024-09-08 03:11:30 +02:00
30 lines
741 B
Python
30 lines
741 B
Python
|
"""empty message
|
||
|
|
||
|
Revision ID: 1b7d161d1012
|
||
|
Revises: c6e7fc37ad42
|
||
|
Create Date: 2019-07-23 22:58:59.673800
|
||
|
|
||
|
"""
|
||
|
import sqlalchemy_utils
|
||
|
from alembic import op
|
||
|
import sqlalchemy as sa
|
||
|
|
||
|
|
||
|
# revision identifiers, used by Alembic.
|
||
|
revision = '1b7d161d1012'
|
||
|
down_revision = 'c6e7fc37ad42'
|
||
|
branch_labels = None
|
||
|
depends_on = None
|
||
|
|
||
|
|
||
|
def upgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
op.drop_column('users', 'is_developer')
|
||
|
# ### end Alembic commands ###
|
||
|
|
||
|
|
||
|
def downgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
op.add_column('users', sa.Column('is_developer', sa.BOOLEAN(), server_default=sa.text('false'), autoincrement=False, nullable=False))
|
||
|
# ### end Alembic commands ###
|