Commit d3ada92fada0f5108830c0f114a71ad11d6c5efd
1 parent
777dcf6e
Harmonisation des noms de variables
Showing
1 changed file
with
6 additions
and
5 deletions
Show diff stats
BDD.sql
1 | 1 | CREATE TABLE Utilisateurs ( |
2 | - loglille1 char(30), | |
2 | + loginLille1 char(30), | |
3 | + idCarte char(8), | |
3 | 4 | login char(30) PRIMARY KEY, |
4 | - mdp char(30), | |
5 | + mdp char(60), | |
5 | 6 | droit integer DEFAULT '0' |
6 | 7 | ); |
7 | 8 | |
8 | 9 | CREATE TABLE Clients ( |
9 | - loglille1 char(30) PRIMARY KEY, | |
10 | + loginLille1 char(30) PRIMARY KEY, | |
10 | 11 | solde float(7,2), |
11 | - idcarte integer, | |
12 | + idCarte char(8), | |
12 | 13 | credit boolean |
13 | 14 | ); |
14 | 15 | |
... | ... | @@ -26,6 +27,6 @@ CREATE TABLE Transactions ( |
26 | 27 | montant float(7,2), |
27 | 28 | quantite integer(2), |
28 | 29 | utilisateur char(30) REFERENCES Utilisateur(login), |
29 | - client char(30) REFERENCES Client(loglille1), | |
30 | + client char(30) REFERENCES Client(loginLille1), | |
30 | 31 | valide boolean |
31 | 32 | ); | ... | ... |