mirror of
https://github.com/Noratrieb/oh-oh.git
synced 2026-01-14 17:15:02 +01:00
7 lines
219 B
SQL
7 lines
219 B
SQL
CREATE TABLE IF NOT EXISTS users (
|
|
id INTEGER PRIMARY KEY AUTOINCREMENT, -- ensure no IDs are reused
|
|
username TEXT NOT NULL UNIQUE,
|
|
password TEXT NOT NULL
|
|
);
|
|
|
|
CREATE INDEX users_username ON users(username);
|