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
7e37a1f
commit a9b3258
Showing
2 changed files
with
29 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,26 @@ | ||
""" | ||
Revision ID:0369_vaprofile_cache_fields | ||
Revises: 0368_servicesmssender_columns | ||
Create Date: 2024-05-29 10:55:37 | ||
""" | ||
from alembic import op | ||
import sqlalchemy as sa | ||
|
||
revision = '0369_va_profile_cache_fields' | ||
down_revision = '0368_servicesmssender_columns' | ||
|
||
|
||
def upgrade(): | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
op.add_column('va_profile_local_cache', sa.Column('participant_id', sa.Integer(), nullable=True)) | ||
op.add_column('va_profile_local_cache', sa.Column('has_duplicate_mappings', sa.Boolean(), nullable=False, server_default=sa.false())) | ||
# ### end Alembic commands ### | ||
|
||
|
||
def downgrade(): | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
op.drop_column('va_profile_local_cache', 'has_duplicate_mappings') | ||
op.drop_column('va_profile_local_cache', 'participant_id') | ||
# ### end Alembic commands ### |