4d5e5e207063_.py
644 Bytes
"""empty message
Revision ID: 4d5e5e207063
Revises: 6f7e51f380eb
Create Date: 2021-03-26 18:34:03.768661
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '4d5e5e207063'
down_revision = '6f7e51f380eb'
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.add_column('user', sa.Column('role', sa.Integer(), nullable=True))
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column('user', 'role')
# ### end Alembic commands ###