2021-11-08 01:25:36 +00:00
|
|
|
CREATE TABLE user (
|
2021-11-22 22:11:37 +00:00
|
|
|
id MEDIUMINT NOT NULL AUTO_INCREMENT,
|
|
|
|
mail VARCHAR(250) NOT NULL UNIQUE,
|
|
|
|
mailValidationCode VARCHAR(25),
|
|
|
|
mailValidate TINYINT(1) DEFAULT '0',
|
|
|
|
username VARCHAR(250) NOT NULL UNIQUE,
|
|
|
|
password VARCHAR(250) NOT NuLL,
|
2021-11-08 01:25:36 +00:00
|
|
|
|
2021-11-22 22:11:37 +00:00
|
|
|
PRIMARY KEY(id)
|
|
|
|
);
|