2017-11-22 14:46:14 +00:00
|
|
|
"""
|
|
|
|
|
|
2017-11-23 13:46:14 +00:00
|
|
|
Revision ID: 0145_add_notification_reply_to
|
|
|
|
|
Revises: 0144_template_service_letter
|
2017-11-22 14:46:14 +00:00
|
|
|
Create Date: 2017-11-22 14:23:48.806781
|
|
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
import sqlalchemy as sa
|
2023-12-08 21:43:52 -05:00
|
|
|
from alembic import op
|
2017-11-22 14:46:14 +00:00
|
|
|
|
2023-08-29 14:54:30 -07:00
|
|
|
revision = "0145_add_notification_reply_to"
|
|
|
|
|
down_revision = "0144_template_service_letter"
|
2017-11-22 14:46:14 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
def upgrade():
|
2023-08-29 14:54:30 -07:00
|
|
|
op.add_column(
|
|
|
|
|
"notifications", sa.Column("reply_to_text", sa.String(), nullable=True)
|
|
|
|
|
)
|
2017-11-22 14:46:14 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
def downgrade():
|
2023-08-29 14:54:30 -07:00
|
|
|
op.drop_column("notifications", "reply_to_text")
|