-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1464 from bcgov/feat/prashanth-inapp-notfn-1135
Feat: LCFS - Reformat In-App Notifications tied to Email Subscriptions into AG Grid
- Loading branch information
Showing
27 changed files
with
1,031 additions
and
165 deletions.
There are no files selected for viewing
33 changes: 33 additions & 0 deletions
33
backend/lcfs/db/migrations/versions/2024-12-17-11-23_f93546eaec61.py
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,33 @@ | ||
"""update notification message model | ||
Revision ID: f93546eaec61 | ||
Revises: 5d729face5ab | ||
Create Date: 2024-12-17 11:23:19.563138 | ||
""" | ||
|
||
import sqlalchemy as sa | ||
from alembic import op | ||
|
||
# revision identifiers, used by Alembic. | ||
revision = "f93546eaec61" | ||
down_revision = "5d729face5ab" | ||
branch_labels = None | ||
depends_on = None | ||
|
||
|
||
def upgrade() -> None: | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
op.add_column("notification_message", sa.Column("type", sa.Text(), nullable=False)) | ||
op.add_column( | ||
"notification_message", | ||
sa.Column("related_transaction_id", sa.Text(), nullable=False), | ||
) | ||
# ### end Alembic commands ### | ||
|
||
|
||
def downgrade() -> None: | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
op.drop_column("notification_message", "related_transaction_id") | ||
op.drop_column("notification_message", "type") | ||
# ### end Alembic commands ### |
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
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
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
Oops, something went wrong.