chore: exécuter les migrations versionnées en recette
All checks were successful
Validation applicative / TypeScript, tests et build (push) Successful in 1m55s

This commit is contained in:
Manus Deployment
2026-09-09 08:31:54 +00:00
parent 7754affe96
commit 8158a6b9af

View File

@@ -21,6 +21,25 @@ services:
retries: 5
start_period: 30s
# ============================================================
# Migration versionnée (lancée explicitement avec le profil migration)
# ============================================================
demat-facturation-migrate:
build:
context: .
dockerfile: Dockerfile
target: builder
command: ["./node_modules/.bin/drizzle-kit", "migrate"]
depends_on:
demat-facturation-db:
condition: service_healthy
environment:
DATABASE_URL: mysql://root:demat_facturation_db_pass_2026@demat-facturation-db:3306/gestion_facturation
networks:
- demat-facturation-internal
profiles: ["migration"]
restart: "no"
# ============================================================
# Application (Backend + Frontend)
# ============================================================