aboutsummaryrefslogtreecommitdiff
path: root/migrations
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-05-23 19:40:37 +0100
committerrubenwardy <rw@rubenwardy.com>2018-05-23 19:40:37 +0100
commit9c728a368c5a7f69423f6593e46316ce5cf03c0e (patch)
tree7f5b9a1c6783849f8f63c83c2497cd9352d2f8e2 /migrations
parent243d474bc51cf1a3bdf9969b92aede818d242293 (diff)
downloadcheatdb-9c728a368c5a7f69423f6593e46316ce5cf03c0e.tar.xz
Remove forum topic requirement
Diffstat (limited to 'migrations')
-rw-r--r--migrations/versions/ead35f7d446c_.py32
1 files changed, 32 insertions, 0 deletions
diff --git a/migrations/versions/ead35f7d446c_.py b/migrations/versions/ead35f7d446c_.py
new file mode 100644
index 0000000..bdd9c1c
--- /dev/null
+++ b/migrations/versions/ead35f7d446c_.py
@@ -0,0 +1,32 @@
+"""empty message
+
+Revision ID: ead35f7d446c
+Revises: 81e0eb07a3cd
+Create Date: 2018-05-23 19:39:29.216273
+
+"""
+from alembic import op
+import sqlalchemy as sa
+
+
+# revision identifiers, used by Alembic.
+revision = 'ead35f7d446c'
+down_revision = '81e0eb07a3cd'
+branch_labels = None
+depends_on = None
+
+
+def upgrade():
+ # ### commands auto generated by Alembic - please adjust! ###
+ op.alter_column('package', 'forums',
+ existing_type=sa.INTEGER(),
+ nullable=True)
+ # ### end Alembic commands ###
+
+
+def downgrade():
+ # ### commands auto generated by Alembic - please adjust! ###
+ op.alter_column('package', 'forums',
+ existing_type=sa.INTEGER(),
+ nullable=False)
+ # ### end Alembic commands ###