Skip to content

Commit a6b73a5

Browse files
fixed latest migration issue
1 parent 35fb5c0 commit a6b73a5

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
"""drop_actionable_alert_insight_leads_table
2+
3+
Revision ID: 10e09e25efa0
4+
Revises: ca83b60258d6
5+
Create Date: 2025-12-01 16:19:58.228914
6+
7+
"""
8+
9+
from typing import Sequence, Union
10+
11+
from alembic import op
12+
13+
14+
# revision identifiers, used by Alembic.
15+
revision: str = '10e09e25efa0'
16+
down_revision: Union[str, None] = 'ca83b60258d6'
17+
branch_labels: Union[str, Sequence[str], None] = None
18+
depends_on: Union[str, Sequence[str], None] = None
19+
20+
21+
def upgrade() -> None:
22+
# Drop the three tables
23+
op.drop_table('actionable_alerts', if_exists=True)
24+
op.drop_table('actionable_insight_queries', if_exists=True)
25+
op.drop_table('leads', if_exists=True)
26+
27+
28+
def downgrade() -> None:
29+
pass

0 commit comments

Comments
 (0)