]> git.lizzy.rs Git - cheatdb.git/blob - migrations/versions/ea5a023711e0_.py
Separate rolling average downloads from score
[cheatdb.git] / migrations / versions / ea5a023711e0_.py
1 """empty message
2
3 Revision ID: ea5a023711e0
4 Revises: fa12fadbdb40
5 Create Date: 2018-05-26 01:55:09.745881
6
7 """
8 from alembic import op
9 import sqlalchemy as sa
10
11
12 # revision identifiers, used by Alembic.
13 revision = 'ea5a023711e0'
14 down_revision = 'fa12fadbdb40'
15 branch_labels = None
16 depends_on = None
17
18
19 def upgrade():
20     # ### commands auto generated by Alembic - please adjust! ###
21     conn = op.get_bind()
22     conn.execute("ALTER TYPE userrank ADD VALUE 'BANNED'")
23     # ### end Alembic commands ###
24
25
26 def downgrade():
27     # ### commands auto generated by Alembic - please adjust! ###
28     pass
29     # ### end Alembic commands ###