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.
10 lines
481 B
SQL
10 lines
481 B
SQL
-- Separate unverified browser submissions from cryptographic server registrations.
|
|
CREATE TABLE community_servers (
|
|
id TEXT PRIMARY KEY,
|
|
name TEXT NOT NULL CHECK(length(name) BETWEEN 1 AND 80),
|
|
address TEXT NOT NULL UNIQUE,
|
|
description TEXT NOT NULL CHECK(length(description) <= 500),
|
|
owner_id TEXT NOT NULL REFERENCES accounts(user_id) ON DELETE CASCADE,
|
|
created_at INTEGER NOT NULL
|
|
);
|
|
CREATE INDEX community_servers_owner ON community_servers(owner_id);
|