You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
651 B

  1. """empty message
  2. Revision ID: e7148b675688
  3. Revises:
  4. Create Date: 2018-10-28 23:58:52.794660
  5. """
  6. from alembic import op
  7. import sqlalchemy as sa
  8. # revision identifiers, used by Alembic.
  9. revision = 'e7148b675688'
  10. down_revision = None
  11. branch_labels = None
  12. depends_on = None
  13. def upgrade():
  14. # ### commands auto generated by Alembic - please adjust! ###
  15. op.add_column('users', sa.Column('password_hash', sa.String(length=128), nullable=True))
  16. # ### end Alembic commands ###
  17. def downgrade():
  18. # ### commands auto generated by Alembic - please adjust! ###
  19. op.drop_column('users', 'password_hash')
  20. # ### end Alembic commands ###