c5743e70ac8b_.py
671 Bytes
"""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 ###