Files
notifications-api/migrations/versions/0016_reply_to_email.py

34 lines
875 B
Python
Raw Normal View History

"""empty message
Revision ID: 0016_reply_to_email
Revises: 0015_fix_template_data
Create Date: 2016-05-17 09:59:49.032865
"""
# revision identifiers, used by Alembic.
2023-08-29 14:54:30 -07:00
revision = "0016_reply_to_email"
down_revision = "0015_fix_template_data"
import sqlalchemy as sa
from alembic import op
def upgrade():
### commands auto generated by Alembic - please adjust! ###
2023-08-29 14:54:30 -07:00
op.add_column(
"services", sa.Column("reply_to_email_address", sa.Text(), nullable=True)
)
op.add_column(
"services_history",
sa.Column("reply_to_email_address", sa.Text(), nullable=True),
)
### end Alembic commands ###
def downgrade():
### commands auto generated by Alembic - please adjust! ###
2023-08-29 14:54:30 -07:00
op.drop_column("services_history", "reply_to_email_address")
op.drop_column("services", "reply_to_email_address")
### end Alembic commands ###