teacher-tools/api/schema.sql

17 lines
416 B
MySQL
Raw Normal View History

2024-12-16 22:20:15 +00:00
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
);