fix: Add missing relations to Prisma schema (Pet/Booking, Invoice/Booking)

This commit is contained in:
Robert Perez
2026-07-11 18:37:34 +00:00
parent 1e7a184e94
commit cdaf5780e5
5 changed files with 92 additions and 73 deletions
+2 -17
View File
@@ -47,7 +47,7 @@ services:
JWT_SECRET: ${JWT_SECRET:-change-me-in-production}
STRIPE_SECRET_KEY: ${STRIPE_SECRET_KEY:-sk_test_placeholder}
STRIPE_WEBHOOK_SECRET: ${STRIPE_WEBHOOK_SECRET:-whsec_placeholder}
CORS_ORIGIN: http://localhost:3001
CORS_ORIGIN: "*"
depends_on:
postgres:
condition: service_healthy
@@ -70,27 +70,12 @@ services:
ports:
- "3001:3001"
environment:
REACT_APP_API_URL: http://localhost:3000
REACT_APP_API_URL: http://api:3000
depends_on:
- api
networks:
- petmaster-net
nginx:
image: nginx:alpine
container_name: petmaster-nginx
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- ./web/nginx.conf:/etc/nginx/nginx.conf
depends_on:
- web
- api
networks:
- petmaster-net
volumes:
pgdata:
driver: local