11 lines
250 B
MySQL
11 lines
250 B
MySQL
|
CREATE TABLE user (
|
||
|
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
|
||
|
username TEXT UNIQUE NOT NULL,
|
||
|
email TEXT UNIQUE NOT NULL,
|
||
|
role TEXT NOT NULL
|
||
|
);
|
||
|
|
||
|
CREATE TABLE pwd (
|
||
|
id INTEGER NOT NULL PRIMARY KEY,
|
||
|
password TEXT NOT NULL
|
||
|
);
|