Skip to content
Snippets Groups Projects
Commit 9790e783 authored by Patrick Jentsch's avatar Patrick Jentsch
Browse files

Add missing migrations

parent f65ab646
No related branches found
No related tags found
No related merge requests found
"""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 ###
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment