Removed userId identifier from user table, introducing numerous errors

This commit is contained in:
Imbus 2024-03-18 22:10:19 +01:00
parent c31f145c35
commit f5a914330f

View file

@ -4,7 +4,6 @@
-- password is the hashed password
CREATE TABLE IF NOT EXISTS users (
id INTEGER PRIMARY KEY AUTOINCREMENT,
userId TEXT DEFAULT (HEX(RANDOMBLOB(4))) NOT NULL UNIQUE,
username VARCHAR(255) NOT NULL UNIQUE,
password VARCHAR(255) NOT NULL
);