"""add a scraped value to elections table

Revision ID: 077015d4e81d
Revises: f99436ed64be
Create Date: 2022-08-23 10:26:50.125363

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '077015d4e81d'
down_revision = 'f99436ed64be'
branch_labels = None
depends_on = None


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


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