]> git.lizzy.rs Git - cheatdb.git/blob - migrations/versions/b254f55eadd2_.py
Add ability to limit APITokens to a package
[cheatdb.git] / migrations / versions / b254f55eadd2_.py
1 """empty message
2
3 Revision ID: b254f55eadd2
4 Revises: 4e482c47e519
5 Create Date: 2018-05-27 23:51:11.008936
6
7 """
8 from alembic import op
9 import sqlalchemy as sa
10
11
12 # revision identifiers, used by Alembic.
13 revision = 'b254f55eadd2'
14 down_revision = '4e482c47e519'
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 'TRUSTED_MEMBER'")
23     # ### end Alembic commands ###
24
25
26 def downgrade():
27     # ### commands auto generated by Alembic - please adjust! ###
28     pass
29     # ### end Alembic commands ###