Created
May 1, 2018 19:26
-
-
Save lusabo/b6d1e52eb571f3d65e410ef76057f8fe to your computer and use it in GitHub Desktop.
Create User Table
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 ( | |
id INT NOT NULL AUTO_INCREMENT, | |
role VARCHAR(15) NOT NULL, | |
name VARCHAR(70) NOT NULL, | |
email VARCHAR(45) NOT NULL, | |
username VARCHAR(11) NOT NULL, | |
password VARCHAR(60) NOT NULL, | |
phone VARCHAR(11) NULL, | |
PRIMARY KEY (id)) | |
ENGINE = InnoDB; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment