Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

[Docs] Fix docstring inaccuracies in run_migration.py

Yuneng Jiang5b007add62e2
diff --git a/ci_cd/run_migration.py b/ci_cd/run_migration.py
index 1cbe9fb59d5..feec4046ee1 100644
--- a/ci_cd/run_migration.py
+++ b/ci_cd/run_migration.py
@@ -15,7 +15,7 @@ DEFAULT_BASE_BRANCH = "litellm_internal_staging"
def _find_destructive_statements(sql: str) -> list:
- """Return SQL lines containing DROP COLUMN or DROP TABLE."""
+ """Return SQL lines containing DROP COLUMN, DROP TABLE, or DROP INDEX."""
return [
line.strip() for line in sql.splitlines() if DESTRUCTIVE_PATTERN.search(line)
]
@@ -210,7 +210,8 @@ def create_migration(
allow_destructive (bool): Required to write a migration that contains
DROP COLUMN, DROP TABLE, or DROP INDEX statements. Without this
flag, the script exits non-zero and prints guidance.
- base_branch (str): Branch to check freshness against (default: "main").
+ base_branch (str): Branch to check freshness against
+ (default: "litellm_internal_staging").
skip_freshness_check (bool): Skip the "branch is up to date" check.
Only for intentional migrations against an older base.
"""