mirror of
https://github.com/simple-login/app.git
synced 2024-11-10 21:27:10 +01:00
29 lines
683 B
Python
29 lines
683 B
Python
|
"""empty message
|
||
|
|
||
|
Revision ID: 2fe19381f386
|
||
|
Revises: d03e433dc248
|
||
|
Create Date: 2019-07-01 11:47:24.934574
|
||
|
|
||
|
"""
|
||
|
from alembic import op
|
||
|
import sqlalchemy as sa
|
||
|
|
||
|
|
||
|
# revision identifiers, used by Alembic.
|
||
|
revision = '2fe19381f386'
|
||
|
down_revision = 'd03e433dc248'
|
||
|
branch_labels = None
|
||
|
depends_on = None
|
||
|
|
||
|
|
||
|
def upgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
op.add_column('users', sa.Column('is_developer', sa.Boolean(), server_default='0', nullable=False))
|
||
|
# ### end Alembic commands ###
|
||
|
|
||
|
|
||
|
def downgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
op.drop_column('users', 'is_developer')
|
||
|
# ### end Alembic commands ###
|