mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-29 22:11:52 -05:00
Merge pull request #1416 from alphagov/add-reply-to-notifications
Add a column to Notifications to store the reply_to_text.
This commit is contained in:
21
migrations/versions/0145_add_notification_reply_to.py
Normal file
21
migrations/versions/0145_add_notification_reply_to.py
Normal file
@@ -0,0 +1,21 @@
|
||||
"""
|
||||
|
||||
Revision ID: 0145_add_notification_reply_to
|
||||
Revises: 0144_template_service_letter
|
||||
Create Date: 2017-11-22 14:23:48.806781
|
||||
|
||||
"""
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
revision = '0145_add_notification_reply_to'
|
||||
down_revision = '0144_template_service_letter'
|
||||
|
||||
|
||||
def upgrade():
|
||||
op.add_column('notifications', sa.Column('reply_to_text', sa.String(), nullable=True))
|
||||
|
||||
|
||||
def downgrade():
|
||||
op.drop_column('notifications', 'reply_to_text')
|
||||
Reference in New Issue
Block a user