]> git.lizzy.rs Git - cheatdb.git/blob - migrations/versions/dce69ad1e4eb_.py
Fix scores not degrading due to missing session.commit()
[cheatdb.git] / migrations / versions / dce69ad1e4eb_.py
1 """empty message
2
3 Revision ID: dce69ad1e4eb
4 Revises: a791b9b74a4c
5 Create Date: 2018-12-25 18:57:44.575501
6
7 """
8 from alembic import op
9 import sqlalchemy as sa
10
11
12 # revision identifiers, used by Alembic.
13 revision = 'dce69ad1e4eb'
14 down_revision = 'a791b9b74a4c'
15 branch_labels = None
16 depends_on = None
17
18
19 def upgrade():
20     # ### commands auto generated by Alembic - please adjust! ###
21     op.add_column("user", sa.Column('profile_pic', sa.String(length=255), nullable=True))
22     # ### end Alembic commands ###
23
24
25 def downgrade():
26     # ### commands auto generated by Alembic - please adjust! ###
27     op.drop_column("user", "profile_pic")
28     # ### end Alembic commands ###