"""add result col

Revision ID: 7a58dad1eecf
Revises: 22da14b90768
Create Date: 2019-02-25 11:38:57.805934

"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import mysql

# revision identifiers, used by Alembic.
revision = '7a58dad1eecf'
down_revision = '22da14b90768'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column('participate_in', sa.Column('result', mysql.TINYINT(), server_default='0', nullable=False))
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column('participate_in', 'result')
    # ### end Alembic commands ###
