2024-10-29 03:10:12 +00:00
|
|
|
CREATE TABLE IF NOT EXISTS users (
|
2025-01-08 06:54:50 +00:00
|
|
|
/* */
|
|
|
|
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),
|
2024-10-29 03:10:12 +00:00
|
|
|
PRIMARY KEY (id)
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
CREATE TABLE IF NOT EXISTS invites (
|
|
|
|
id BIGINT,
|
|
|
|
expires INTEGER,
|
|
|
|
PRIMARY KEY (id)
|
|
|
|
);
|