mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Signed-off-by: Wes <wesbillman@users.noreply.github.com> Co-authored-by: Brain <21994759fc7a6fa6b965551d35cfd7897d262f2495467f2d78694ddcfa6a5c7e@sprout-oss.stage.blox.sqprod.co>
13 lines
804 B
SQL
13 lines
804 B
SQL
-- ── Per-community workspace icon (NIP-11 `icon`) ─────────────────────────────
|
|
-- Set by relay admins/owners via the kind:9033 command; served to clients in
|
|
-- the standard NIP-11 relay information document `icon` field, bound to the
|
|
-- community resolved from the request Host (same row-zero seam as WS/NIP-05).
|
|
--
|
|
-- Additive migration: previously applied files must not change checksum.
|
|
-- `communities` is an operator-global registry table (no community_id column
|
|
-- by design); this adds a per-row presentation attribute, not tenant data in
|
|
-- a shared table. TEXT holds either an http(s) URL or a small data:image/*
|
|
-- URL — validated and size-capped at the 9033 write path, not here.
|
|
|
|
ALTER TABLE communities ADD COLUMN icon TEXT;
|