From 46c2a8d78fc018ca46bd442279968c572a8b01a1 Mon Sep 17 00:00:00 2001 From: JunkJumper Date: Thu, 5 Dec 2019 23:50:29 +0100 Subject: [PATCH] full sql script --- database.sql | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 database.sql diff --git a/database.sql b/database.sql new file mode 100644 index 0000000..48318a4 --- /dev/null +++ b/database.sql @@ -0,0 +1,17 @@ +CREATE TABLE IDENTITE ( + idIdentite INT NOT NULL AUTO_INCREMENT , + nom VARCHAR(30) NOT NULL , + prenom VARCHAR(30) NOT NULL , + email VARCHAR(50) NOT NULL , + dateNaissance DATE NOT NULL , + genre VARCHAR(20) NOT NULL , + PRIMARY KEY (idIdentite) +); + +CREATE TABLE USER ( + idUser INT NOT NULL AUTO_INCREMENT, + login VARCHAR(20) NOT NULL, + password VARCHAR(20) NOT NULL, + +) +