Created
April 18, 2017 09:03
-
-
Save JamieKalloe/db161ad99059a6140bd80e9bd797b2b6 to your computer and use it in GitHub Desktop.
IPSENH-DB.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE User_account ( | |
id SERIAL, | |
first_name VARCHAR(255) NOT NULL, | |
insertion VARCHAR(255), | |
last_name VARCHAR(255) NOT NULL, | |
email VARCHAR(255) NOT NULL, | |
date_of_birth DATE NOT NULL, | |
password VARCHAR(255) NOT NULL, | |
role VARCHAR(255) NOT NULL, | |
CONSTRAINT pk_id PRIMARY KEY (id), | |
CONSTRAINT uni_email UNIQUE (email) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment