Cleaning up the admin credentials creation a ton and creating the default bubble

admin user in the users table.
Still need UUIDv7 in as primary keys but we're getting there slowly
This commit is contained in:
2025-01-07 22:54:50 -08:00
parent a679f49b18
commit b4aa323577
3 changed files with 41 additions and 9 deletions

View File

@@ -1,6 +1,10 @@
CREATE TABLE IF NOT EXISTS users (
id INTEGER,
name VARCHAR(256),
/* */
id UUID,
/* Acts as a kind of nick name per instance as it assumes no uniqueness */
username VARCHAR(256),
/* Basic salted+hashed password */
password VARCHAR(256),
PRIMARY KEY (id)
);