From 38f56b8b63eca06a8d5f28bc3d0d0293870b3d67 Mon Sep 17 00:00:00 2001 From: Michael SCHAL Date: Sun, 23 Nov 2025 22:57:09 +0100 Subject: [PATCH] db: drop notification tables and columns, and add an Alembic merge revision. --- app/alembic/versions/drop_notifications.py | 2 +- app/alembic/versions/merge_heads.py | 26 ++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 app/alembic/versions/merge_heads.py diff --git a/app/alembic/versions/drop_notifications.py b/app/alembic/versions/drop_notifications.py index 40df459..4aeab81 100644 --- a/app/alembic/versions/drop_notifications.py +++ b/app/alembic/versions/drop_notifications.py @@ -11,7 +11,7 @@ import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'drop_notifications' -down_revision = None # Update this if there are other migrations +down_revision = 'add_category_field' # Points to the last migration branch_labels = None depends_on = None diff --git a/app/alembic/versions/merge_heads.py b/app/alembic/versions/merge_heads.py new file mode 100644 index 0000000..8227a53 --- /dev/null +++ b/app/alembic/versions/merge_heads.py @@ -0,0 +1,26 @@ +"""merge multiple heads + +Revision ID: merge_heads +Revises: drop_notifications, performance_indexes_v2 +Create Date: 2025-11-23 + +""" +from alembic import op +import sqlalchemy as sa + + +# revision identifiers, used by Alembic. +revision = 'merge_heads' +down_revision = ('drop_notifications', 'performance_indexes_v2') +branch_labels = None +depends_on = None + + +def upgrade() -> None: + # No changes needed, this is just a merge revision + pass + + +def downgrade() -> None: + # No changes needed, this is just a merge revision + pass