Blame view

migrations/versions/4d5e5e207063_.py 644 Bytes
2e13a0c9   hitier   Corresponding mig...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
"""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 ###