Commit 7c73e919332a93f8042d3c9de89be7dbbf885e86
1 parent
7b9c0dc6
Re : Fichier base de donnees
Showing
1 changed file
with
5 additions
and
5 deletions
Show diff stats
BDD.sql
... | ... | @@ -10,7 +10,7 @@ CREATE TABLE Client ( |
10 | 10 | nom char(30), |
11 | 11 | prenom char(30), |
12 | 12 | loglille1 char(30) PRIMARY KEY, |
13 | - solde float5.2, | |
13 | + solde float 5.2, | |
14 | 14 | idcarte integer, |
15 | 15 | credit boolean |
16 | 16 | ); |
... | ... | @@ -18,16 +18,16 @@ CREATE TABLE Client ( |
18 | 18 | |
19 | 19 | CREATE TABLE Prix ( |
20 | 20 | produit char(30), |
21 | - prix float5.2 | |
21 | + prix float 5.2 | |
22 | 22 | ); |
23 | 23 | |
24 | 24 | |
25 | 25 | CREATE TABLE Transactions ( |
26 | 26 | id serial PRIMARY KEY, |
27 | 27 | type char(15), |
28 | - date char(15), | |
29 | - montant float5.2, | |
30 | - quantite interger2, | |
28 | + date_heure char(15), | |
29 | + montant float 5.2, | |
30 | + quantite interger 2, | |
31 | 31 | utilisateur char(30) REFERENCES Utilisateur(login), |
32 | 32 | client char(30) REFERENCES Client(loglille1), |
33 | 33 | valide boolean | ... | ... |