"""Siegpunkte-Edit

Revision ID: c797b04370c6
Revises: 1e691303d014
Create Date: 2021-04-24 23:53:25.515692

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = 'c797b04370c6'
down_revision = '1e691303d014'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column('victory_point', sa.Column('mp_id', sa.Integer()))
    op.create_foreign_key(None, 'victory_point', 'mp', ['mp_id'], ['id'])
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_constraint(None, 'victory_point', type_='foreignkey')
    op.drop_column('victory_point', 'mp_id')
    # ### end Alembic commands ###
