]> git.lizzy.rs Git - cheatdb.git/blob - migrations/versions/86512692b770_.py
Add ability for moderators to delete comments
[cheatdb.git] / migrations / versions / 86512692b770_.py
1 """empty message
2
3 Revision ID: 86512692b770
4 Revises: ba730ce1dc3e
5 Create Date: 2020-07-11 01:56:28.634661
6
7 """
8 from alembic import op
9 import sqlalchemy as sa
10
11
12 # revision identifiers, used by Alembic.
13 revision = '86512692b770'
14 down_revision = 'ba730ce1dc3e'
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('audit_log_entry', sa.Column('description', sa.Text, nullable=True))
22     # ### end Alembic commands ###
23
24
25 def downgrade():
26     # ### commands auto generated by Alembic - please adjust! ###
27     op.drop_column('audit_log_entry', 'description')
28     # ### end Alembic commands ###