From 97a33562c4fb8f56d2bbc14ead3f1a83b2639261 Mon Sep 17 00:00:00 2001 From: Mack Halliday Date: Tue, 22 Oct 2024 14:43:04 -0400 Subject: [PATCH] #1979 - add notification column to VA Profile Local Cache (#2076) #1979 - add notification column to VA Profile Local Cache (#2076) --- .../versions/0373_va_profile_notification.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 migrations/versions/0373_va_profile_notification.py diff --git a/migrations/versions/0373_va_profile_notification.py b/migrations/versions/0373_va_profile_notification.py new file mode 100644 index 0000000000..da69115f01 --- /dev/null +++ b/migrations/versions/0373_va_profile_notification.py @@ -0,0 +1,17 @@ +""" +Revision ID: 0373_va_profile_notification +Revises: 0372_remove_service_id_index +Create Date: 2024-10-22 12:56:00 +""" +from alembic import op +import sqlalchemy as sa +from sqlalchemy.dialects.postgresql import UUID + +revision = '0373_va_profile_notification' +down_revision = '0372_remove_service_id_index' + +def upgrade(): + op.add_column('va_profile_local_cache', sa.Column('notification_id', UUID(), nullable=True)) + +def downgrade(): + op.drop_column('va_profile_local_cache', 'notification_id') \ No newline at end of file