mirror of
https://github.com/Noratrieb/oh-oh.git
synced 2026-01-16 18:05:07 +01:00
init
This commit is contained in:
commit
1772e21364
13 changed files with 2961 additions and 0 deletions
7
idp/migrations/20250712175015_users.sql
Normal file
7
idp/migrations/20250712175015_users.sql
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
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);
|
||||
Loading…
Add table
Add a link
Reference in a new issue