Commit df46a0de3f9b00982378131b6b6b1fc2c25096c0

Authored by lwadbled
1 parent 67147733

fix(bdd.sql): ajout du numero du banc dans la table equipement

Showing 1 changed file with 3 additions and 2 deletions   Show diff stats
@@ -23,7 +23,8 @@ create table banc @@ -23,7 +23,8 @@ create table banc
23 (NUMERO int PRIMARY KEY); 23 (NUMERO int PRIMARY KEY);
24 24
25 create table equipement 25 create table equipement
26 - (IP char(15) PRIMARY KEY, 26 + (num int REFERENCES banc,
  27 + IP char(15) PRIMARY KEY,
27 NOM char(50), 28 NOM char(50),
28 TYPE char(30)); 29 TYPE char(30));
29 30
@@ -40,7 +41,7 @@ create table reservation @@ -40,7 +41,7 @@ create table reservation
40 41
41 insert into utilisateur values ('lwadbled','Louis'); 42 insert into utilisateur values ('lwadbled','Louis');
42 43
43 -insert into creneau values ('01/12/2021'); 44 +/* insert into creneau values ('01/12/2021'); */
44 45
45 insert into banc values (1); 46 insert into banc values (1);
46 47