From d15bb0215a4af7c2f01c67e0f8c691415df7ef83 Mon Sep 17 00:00:00 2001 From: Vincent ASTOLFI Date: Fri, 2 Dec 2022 14:20:42 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'Sources/API/contro?= =?UTF-8?q?ller/Controller.php'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/API/controller/Controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/API/controller/Controller.php b/Sources/API/controller/Controller.php index 3725f68..81ef754 100644 --- a/Sources/API/controller/Controller.php +++ b/Sources/API/controller/Controller.php @@ -5,7 +5,7 @@ class Controller{ function __construct($url){ global $dsn, $usr, $mdp; $con = new Connection($dsn, $usr, $mdp); - $query ='DROP TABLE Planification; + $query ='DROP TABLE IF EXISTS Planification; DROP TABLE IF EXISTS Opération; DROP TABLE IF EXISTS Echeancier; DROP TABLE IF EXISTS Compte;