mirror of
https://github.com/R0m1k3/Priceflow.git
synced 2026-10-23 15:18:12 +02:00
2 files changed
+27
-1
No files matched your search
@@ -11,7 +11,7 @@ import sqlalchemy as sa
|
|||||||
|
|
||||||
# revision identifiers, used by Alembic.
|
# revision identifiers, used by Alembic.
|
||||||
revision = 'drop_notifications'
|
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
|
branch_labels = None
|
||||||
depends_on = None
|
depends_on = None
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
Reference in new issue
Block a user