DotaNoobs main site.
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
744 B

  1. """empty message
  2. Revision ID: 23bfef078b06
  3. Revises: 47c81a0d0be7
  4. Create Date: 2014-06-22 18:04:41.935383
  5. """
  6. # revision identifiers, used by Alembic.
  7. revision = '23bfef078b06'
  8. down_revision = '47c81a0d0be7'
  9. from alembic import op
  10. import sqlalchemy as sa
  11. def upgrade():
  12. ### commands auto generated by Alembic - please adjust! ###
  13. op.add_column('user', sa.Column('winrate_interval', sa.Integer(), nullable=True))
  14. op.add_column('user', sa.Column('winrate_map', sa.Boolean(), nullable=True))
  15. ### end Alembic commands ###
  16. def downgrade():
  17. ### commands auto generated by Alembic - please adjust! ###
  18. op.drop_column('user', 'winrate_map')
  19. op.drop_column('user', 'winrate_interval')
  20. ### end Alembic commands ###