mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-10 07:12:20 -05:00
27 lines
735 B
Python
27 lines
735 B
Python
"""
|
|
|
|
Revision ID: 0338_add_notes_to_service
|
|
Revises: 0337_broadcast_msg_api
|
|
Create Date: 2021-01-13 11:50:06.333369
|
|
|
|
"""
|
|
import sqlalchemy as sa
|
|
from alembic import op
|
|
|
|
revision = "0338_add_notes_to_service"
|
|
down_revision = "0337_broadcast_msg_api"
|
|
|
|
|
|
def upgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.add_column("services", sa.Column("notes", sa.Text(), nullable=True))
|
|
op.add_column("services_history", sa.Column("notes", sa.Text(), nullable=True))
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.drop_column("services_history", "notes")
|
|
op.drop_column("services", "notes")
|
|
# ### end Alembic commands ###
|