teacher-tools/api/schema/auth.sql

9 lines
214 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
);