mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-18 07:01:46 -05:00
30 lines
854 B
Python
30 lines
854 B
Python
|
|
"""empty message
|
||
|
|
|
||
|
|
Revision ID: 0376_add_provider_response
|
||
|
|
Revises: 0375_fix_service_name
|
||
|
|
Create Date: 2022-09-14 11:04:15.888017
|
||
|
|
|
||
|
|
"""
|
||
|
|
# revision identifiers, used by Alembic.
|
||
|
|
from datetime import datetime
|
||
|
|
|
||
|
|
revision = '0376_add_provider_response'
|
||
|
|
down_revision = '0375_fix_service_name'
|
||
|
|
|
||
|
|
from alembic import op
|
||
|
|
import sqlalchemy as sa
|
||
|
|
|
||
|
|
|
||
|
|
def upgrade():
|
||
|
|
### commands auto generated by Alembic - please adjust! ###
|
||
|
|
op.add_column('notifications', sa.Column('provider_response', sa.Text(), nullable=True))
|
||
|
|
op.add_column('notifications', sa.Column('queue_name', sa.Text(), nullable=True))
|
||
|
|
### end Alembic commands ###
|
||
|
|
|
||
|
|
|
||
|
|
def downgrade():
|
||
|
|
### commands auto generated by Alembic - please adjust! ###
|
||
|
|
op.drop_column('notifications', 'provider_response')
|
||
|
|
op.drop_column('notifications', 'queue_name')
|
||
|
|
### end Alembic commands ###
|
||
|
|
|