fix: Prisma 7 compatibility - remove url from schema, add DATABASE_URL to deploy

This commit is contained in:
2026-04-26 14:48:16 +05:00
parent e040d8cacd
commit c0afe4a7a5
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -51,5 +51,5 @@ jobs:
docker-compose -f /opt/xflow/docker-compose.yml up -d --force-recreate xflow
echo "⏳ Waiting for container to start..."
sleep 5
docker exec xflow sh -c "cd /app && npx prisma migrate deploy"
docker exec xflow sh -c "cd /app && export DATABASE_URL=postgresql://xflow:xflow_pass@postgres:5432/xflow && npx prisma migrate deploy"
echo "✅ XFlow deployed at $(date)"