"""

Revision ID: 0144_add_notification_reply_to
Revises: 0143_remove_reply_to
Create Date: 2017-11-22 14:23:48.806781

"""
from alembic import op
import sqlalchemy as sa


revision = '0144_add_notification_reply_to'
down_revision = '0143_remove_reply_to'


def upgrade():
    op.add_column('notifications', sa.Column('reply_to_text', sa.String(), nullable=True))


def downgrade():
    op.drop_column('notifications', 'reply_to_text')

Add a column to Notifications to store the reply_to_text. This is text value of the sender_id, depending on the channel this will be a SMS sender, email reply to address or a letter contact block. This is the first PR in a series to refactor how we send the "reply_to" the provider, eventually we can eliminate the notification_to_sms_sender and notification_to_email_to tables.
Add a column to Notifications to store the reply_to_text.
This is text value of the sender_id, depending on the channel this will be a SMS sender, email reply to address or a letter contact block.
This is the first PR in a series to refactor how we send the "reply_to" the provider, eventually we can eliminate the notification_to_sms_sender and notification_to_email_to tables.
