From 9790e783e3760faafc929472c6b1f92e2f7fd03c Mon Sep 17 00:00:00 2001
From: Patrick Jentsch
Date: Wed, 14 Apr 2021 14:16:32 +0200
Subject: [PATCH] Add missing migrations
---
web/migrations/versions/55d2b1a82ba9_.py | 30 ++++++++++++++++++++++++
1 file changed, 30 insertions(+)
create mode 100644 web/migrations/versions/55d2b1a82ba9_.py
diff --git a/web/migrations/versions/55d2b1a82ba9_.py b/web/migrations/versions/55d2b1a82ba9_.py
new file mode 100644
index 00000000..e847160d
--- /dev/null
+++ b/web/migrations/versions/55d2b1a82ba9_.py
@@ -0,0 +1,30 @@
+"""empty message
+
+Revision ID: 55d2b1a82ba9
+Revises: 8b2e0d43384a
+Create Date: 2021-04-14 12:10:08.675542
+
+"""
+from alembic import op
+import sqlalchemy as sa
+
+
+# revision identifiers, used by Alembic.
+revision = '55d2b1a82ba9'
+down_revision = '8b2e0d43384a'
+branch_labels = None
+depends_on = None
+
+
+def upgrade():
+ # ### commands auto generated by Alembic - please adjust! ###
+ op.drop_column('jobs', 'mem_mb')
+ op.drop_column('jobs', 'n_cores')
+ # ### end Alembic commands ###
+
+
+def downgrade():
+ # ### commands auto generated by Alembic - please adjust! ###
+ op.add_column('jobs', sa.Column('n_cores', sa.INTEGER(), autoincrement=False, nullable=True))
+ op.add_column('jobs', sa.Column('mem_mb', sa.INTEGER(), autoincrement=False, nullable=True))
+ # ### end Alembic commands ###