diff --git a/bdd.sql b/bdd.sql index 30544fb..313a248 100644 --- a/bdd.sql +++ b/bdd.sql @@ -23,7 +23,8 @@ create table banc (NUMERO int PRIMARY KEY); create table equipement - (IP char(15) PRIMARY KEY, + (num int REFERENCES banc, + IP char(15) PRIMARY KEY, NOM char(50), TYPE char(30)); @@ -40,7 +41,7 @@ create table reservation insert into utilisateur values ('lwadbled','Louis'); -insert into creneau values ('01/12/2021'); +/* insert into creneau values ('01/12/2021'); */ insert into banc values (1); -- libgit2 0.21.2