forked from cds-snc/notification-api
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
f0d151d
commit fcb8e48
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
""" | ||
Revision ID: 0370_notification_callback_url | ||
Revises: 0369a_va_profile_cache_fields | ||
Create Date: 2024-10-01 19:12:54.511134 | ||
""" | ||
|
||
from alembic import op | ||
import sqlalchemy as sa | ||
|
||
revision = '0370_notification_callback_url' | ||
down_revision = '0369a_va_profile_cache_fields' | ||
|
||
|
||
def upgrade(): | ||
op.add_column('notifications', sa.Column('callback_url', sa.String(length=255), nullable=True)) | ||
|
||
|
||
def downgrade(): | ||
op.drop_column('notifications', 'callback_url') |