From 2c7b89670d717e027aed5b0105d0f1f47c3edb29 Mon Sep 17 00:00:00 2001 From: Vadym Samoilenko Date: Wed, 11 Mar 2026 13:29:11 +0000 Subject: [PATCH] Fix alembic PYTHONPATH in deploy script Co-Authored-By: Claude Sonnet 4.6 --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 9d4cbae..e921f88 100755 --- a/deploy.sh +++ b/deploy.sh @@ -88,7 +88,7 @@ info "Starting backend for migrations..." $COMPOSE up -d backend info "Running database migrations..." -$COMPOSE exec backend alembic -c alembic.ini upgrade head +$COMPOSE exec -e PYTHONPATH=/app backend alembic -c alembic.ini upgrade head success "Migrations complete." # ---------------------------------------------------------------------------