politikorama/migrations/versions/ac34a07322f6_.py

29 lines
668 B
Python

"""empty message
Revision ID: ac34a07322f6
Revises: b83b29dc60b0
Create Date: 2021-07-21 15:36:01.454538
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'ac34a07322f6'
down_revision = 'b83b29dc60b0'
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.add_column('representative', sa.Column('active', sa.Boolean(), nullable=True))
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column('representative', 'active')
# ### end Alembic commands ###