Files
notifications-api/migrations/versions/0067_service_contact_block.py
Cliff Hill 1157f5639d black, isort, flake8
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2023-12-08 21:43:52 -05:00

33 lines
886 B
Python

"""empty message
Revision ID: 0067_service_contact_block
Revises: 0065_users_current_session_id
Create Date: 2017-02-28 11:23:40.299110
"""
# revision identifiers, used by Alembic.
revision = "0067_service_contact_block"
down_revision = "0065_users_current_session_id"
import sqlalchemy as sa
from alembic import op
def upgrade():
### commands auto generated by Alembic - please adjust! ###
op.add_column(
"services", sa.Column("letter_contact_block", sa.Text(), nullable=True)
)
op.add_column(
"services_history", sa.Column("letter_contact_block", sa.Text(), nullable=True)
)
### end Alembic commands ###
def downgrade():
### commands auto generated by Alembic - please adjust! ###
op.drop_column("services_history", "letter_contact_block")
op.drop_column("services", "letter_contact_block")
### end Alembic commands ###