Prepare sql for encrypted user info, email address and profile pic
This commit is contained in:
parent
23f0c6f4a4
commit
d7cbb34814
@ -5,12 +5,14 @@ DROP TABLE IF EXISTS issues;
|
|||||||
DROP TABLE IF EXISTS users;
|
DROP TABLE IF EXISTS users;
|
||||||
|
|
||||||
CREATE TABLE users (
|
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,
|
||||||
role INT NOT NULL,
|
email VARCHAR(60) NOT NULL,
|
||||||
|
profile_pic_link VARCHAR(255) NOT NULL,
|
||||||
|
role INT NOT NULL,
|
||||||
PRIMARY KEY (id)
|
PRIMARY KEY (id)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user