Blame view

migrations/versions/c5743e70ac8b_.py 671 Bytes
fa772e4b   hitier   Update resource's...
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: c5743e70ac8b
Revises: 4d5e5e207063
Create Date: 2021-04-15 16:48:32.103879

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = 'c5743e70ac8b'
down_revision = '4d5e5e207063'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column('user', sa.Column('password_hash', sa.String(length=128), nullable=True))
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column('user', 'password_hash')
    # ### end Alembic commands ###