16 lines
333 B
MySQL
16 lines
333 B
MySQL
|
CREATE TABLE users (
|
||
|
id INTEGER NOT NULL,
|
||
|
login VARCHAR(25) not NULL,
|
||
|
email VARCHAR(255) NOT NULL,
|
||
|
password VARCHAR() NOT NULL,
|
||
|
avatar_url VARCHAR(),
|
||
|
token VARCHAR() NOT NULL,
|
||
|
permisionLVL INTEGER NOT NULL
|
||
|
|
||
|
|
||
|
|
||
|
PRIMARY KEY(id)
|
||
|
PRIMARY KEY(email)
|
||
|
PRIMARY KEY(login)
|
||
|
PRIMARY KEY(token)
|
||
|
);
|