mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-13 08:52:02 +00:00
test(image): point admin MCP schema push at /app/litellm/schema.prisma (#51446)
The --target builder image copies the repo root to /app, so after the schema moved under litellm/ it lives at /app/litellm/schema.prisma there. Only the runtime stage adds the /app/schema.prisma alias. Claude-Session: https://claude.ai/code/session_01Bne5zS8tnYUDfKJYENWcYA Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
parent
a7052ea8a8
commit
b304dcfe94
1 changed files with 1 additions and 1 deletions
|
|
@ -186,7 +186,7 @@ def test_image_admin_mcp_personal_admin_manages_team(offline_postgres: tuple[str
|
|||
"--env", "HOME=/opt/prisma", "--env", "XDG_CACHE_HOME=/opt/prisma/.cache",
|
||||
"--env", "PRISMA_BINARY_CACHE_DIR=/opt/prisma/binaries",
|
||||
"--entrypoint", "prisma", SCHEMA_IMAGE,
|
||||
"db", "push", "--schema", "/app/schema.prisma", "--skip-generate", "--accept-data-loss",
|
||||
"db", "push", "--schema", "/app/litellm/schema.prisma", "--skip-generate", "--accept-data-loss",
|
||||
],
|
||||
capture_output=True, text=True, timeout=180, check=False,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue