app/migrations/versions/1b7d161d1012_.py
2019-12-15 18:55:10 +02:00

29 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 ###