From baf257c86712e5b474404d7f00dde6ddb1bcf0ab Mon Sep 17 00:00:00 2001 From: valleet01 <thibaut.vallee@unicaen.fr> Date: Fri, 14 Feb 2025 15:58:24 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20du=20sh=C3=A9ma=20SQL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 4 ++++ SQL/001_table.sql | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d11d3aa..d42abcd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ CHANGELOG ========= +1.0.1 (14/02/24) +----- +- [FIX] : Clés étrangéres des champs histo + 1.0.0 (10/02/24) ----- - Création de la librairie unicaen-fichier diff --git a/SQL/001_table.sql b/SQL/001_table.sql index 42be9ef..5933cbd 100644 --- a/SQL/001_table.sql +++ b/SQL/001_table.sql @@ -28,6 +28,6 @@ create table unicaen_fichier_fichier FOREIGN KEY ( nature ) REFERENCES unicaen_fichier_nature ( id ), FOREIGN KEY ( histo_createur_id ) REFERENCES unicaen_utilisateur_user ( id ), - FOREIGN KEY ( histo_createur_id ) REFERENCES unicaen_utilisateur_user ( id ), - FOREIGN KEY ( histo_createur_id ) REFERENCES unicaen_utilisateur_user ( id ) + FOREIGN KEY ( histo_modificateur_id ) REFERENCES unicaen_utilisateur_user ( id ), + FOREIGN KEY ( histo_destructeur_id ) REFERENCES unicaen_utilisateur_user ( id ) ); -- GitLab