]> git.lizzy.rs Git - cheatdb.git/blob - migrations/versions/3f4d7cd8401f_.py
Add download counting
[cheatdb.git] / migrations / versions / 3f4d7cd8401f_.py
1 """empty message
2
3 Revision ID: 3f4d7cd8401f
4 Revises: 13113e5710da
5 Create Date: 2018-05-25 17:53:13.215127
6
7 """
8 from alembic import op
9 import sqlalchemy as sa
10
11
12 # revision identifiers, used by Alembic.
13 revision = '3f4d7cd8401f'
14 down_revision = '13113e5710da'
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 packagepropertykey ADD VALUE 'harddeps'")
23     conn.execute("ALTER TYPE packagepropertykey ADD VALUE 'softdeps'")
24     # ### end Alembic commands ###
25
26
27 def downgrade():
28     # ### commands auto generated by Alembic - please adjust! ###
29     pass
30     # ### end Alembic commands ###