test résolution de la base de données
continuous-integration/drone/push Build is passing Details

pull/130/head
Vincent ASTOLFI 2 years ago
parent 97bf4b2829
commit 2c15eeedb6

@ -5,7 +5,17 @@ class Controller{
function __construct($url){ function __construct($url){
global $dsn, $usr, $mdp; global $dsn, $usr, $mdp;
$con = new Connection($dsn, $usr, $mdp); $con = new Connection($dsn, $usr, $mdp);
$query ='CREATE TABLE Devise $query ='DROP TABLE Planification;
DROP TABLE IF EXISTS Opération;
DROP TABLE IF EXISTS Echeancier;
DROP TABLE IF EXISTS Compte;
DROP TABLE IF EXISTS InscrBanque;
DROP TABLE IF EXISTS Banque;
DROP TABLE IF EXISTS DeviseInscrit;
DROP TABLE IF EXISTS Inscrit;
DROP TABLE IF EXISTS Devise;
CREATE TABLE Devise
( (
id char(3) PRIMARY KEY, id char(3) PRIMARY KEY,
nom varchar(20) nom varchar(20)

Loading…
Cancel
Save