|
|
@ -0,0 +1,28 @@ |
|
|
|
"""empty message |
|
|
|
|
|
|
|
Revision ID: e7148b675688 |
|
|
|
Revises: |
|
|
|
Create Date: 2018-10-28 23:58:52.794660 |
|
|
|
|
|
|
|
""" |
|
|
|
from alembic import op |
|
|
|
import sqlalchemy as sa |
|
|
|
|
|
|
|
|
|
|
|
# revision identifiers, used by Alembic. |
|
|
|
revision = 'e7148b675688' |
|
|
|
down_revision = None |
|
|
|
branch_labels = None |
|
|
|
depends_on = None |
|
|
|
|
|
|
|
|
|
|
|
def upgrade(): |
|
|
|
# ### commands auto generated by Alembic - please adjust! ### |
|
|
|
op.add_column('users', 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('users', 'password_hash') |
|
|
|
# ### end Alembic commands ### |