17 lines
416 B
SQL
17 lines
416 B
SQL
CREATE TABLE user (
|
|
id INTEGER PRIMARY KEY,
|
|
username TEXT NOT NULL UNIQUE,
|
|
password_hash TEXT NOT NULL,
|
|
created_at INTEGER NOT NULL,
|
|
is_locked INTEGER NOT NULL,
|
|
is_admin INTEGER NOT NULL
|
|
);
|
|
|
|
INSERT INTO user (username, password_hash, created_at, is_locked, is_admin) VALUES (
|
|
'test',
|
|
'9F86D081884C7D659A2FEAA0C55AD015A3BF4F1B2B0B822CD15D6C15B0F00A08',
|
|
1734380300,
|
|
0,
|
|
1
|
|
);
|