"""program: add progrank score and update date fields

Revision ID: daa5d5913ef8
Revises: 189bbc0e1543
Create Date: 2022-06-15 11:14:30.745287

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = 'daa5d5913ef8'
down_revision = '189bbc0e1543'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column('program', sa.Column('progrank', sa.Integer(), nullable=True))
    op.add_column('program', sa.Column('progrank_date', sa.DateTime(), nullable=True))
    # ### end Alembic commands ###


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