16 lines
333 B
SQL
16 lines
333 B
SQL
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)
|
|
); |