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." # ---------------------------------------------------------------------------