fix(db): validations — colonnes commentaire et valide_par

- BDD.sql alignée sur l’entité TypeORM
- Patch SQL pour bases existantes + README patches

Made-with: Cursor
This commit is contained in:
2026-04-17 18:49:44 +02:00
parent 7590c95f06
commit f2daab1325
3 changed files with 19 additions and 0 deletions
+2
View File
@@ -274,6 +274,8 @@ CREATE TABLE validations (
id_utilisateur UUID REFERENCES utilisateurs(id),
type VARCHAR(50),
statut statut_validation_type DEFAULT 'en_attente',
commentaire TEXT,
valide_par UUID REFERENCES utilisateurs(id),
cree_le TIMESTAMPTZ DEFAULT now(),
modifie_le TIMESTAMPTZ DEFAULT now()
);