Prepare sql for encrypted user info, email address and profile pic
This commit is contained in:
parent
23f0c6f4a4
commit
d7cbb34814
@ -8,8 +8,10 @@ CREATE TABLE users (
|
|||||||
id INT AUTO_INCREMENT,
|
id INT AUTO_INCREMENT,
|
||||||
username VARCHAR(15) NOT NULL UNIQUE,
|
username VARCHAR(15) NOT NULL UNIQUE,
|
||||||
password VARCHAR(60) NOT NULL,
|
password VARCHAR(60) NOT NULL,
|
||||||
first_name VARCHAR(50) NOT NULL,
|
first_name VARCHAR(60) NOT NULL,
|
||||||
last_name VARCHAR(50) NOT NULL,
|
last_name VARCHAR(60) NOT NULL,
|
||||||
|
email VARCHAR(60) NOT NULL,
|
||||||
|
profile_pic_link VARCHAR(255) NOT NULL,
|
||||||
role INT NOT NULL,
|
role INT NOT NULL,
|
||||||
PRIMARY KEY (id)
|
PRIMARY KEY (id)
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user