chore(server): checkpoint deployed services and unfinished forums
User requested a checkpoint and stopped all agents. Deployed artifacts remain the last verified releases; unfinished settings/categories/forums are preserved as WIP. See TODO/roadmap for verification and remaining release/updater work.
This commit is contained in:
parent
d6d406bbf5
commit
c18ccadf99
96 changed files with 8665 additions and 276 deletions
17
hub/migrations/0008_desktop_auth.sql
Normal file
17
hub/migrations/0008_desktop_auth.sql
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
CREATE TABLE desktop_authorizations (
|
||||
device_hash TEXT PRIMARY KEY,
|
||||
code_hash TEXT NOT NULL UNIQUE,
|
||||
public_key TEXT NOT NULL,
|
||||
user_id TEXT REFERENCES accounts(user_id) ON DELETE CASCADE,
|
||||
expires_at INTEGER NOT NULL
|
||||
);
|
||||
CREATE INDEX desktop_authorization_expiry ON desktop_authorizations(expires_at);
|
||||
CREATE TABLE desktop_devices (
|
||||
refresh_hash TEXT PRIMARY KEY,
|
||||
device_hash TEXT NOT NULL UNIQUE,
|
||||
public_key TEXT NOT NULL,
|
||||
user_id TEXT NOT NULL REFERENCES accounts(user_id) ON DELETE CASCADE,
|
||||
created_at INTEGER NOT NULL,
|
||||
expires_at INTEGER NOT NULL
|
||||
);
|
||||
CREATE INDEX desktop_device_expiry ON desktop_devices(expires_at);
|
||||
Loading…
Add table
Add a link
Reference in a new issue