Files
2026-06-17 23:27:37 +02:00

7 lines
319 B
SQL

-- Public read-only sharing for lists.
-- NULL share_token = private (default). A non-NULL token is an unguessable
-- secret: anyone holding it can view the list read-only at /api/shared/{token},
-- no account required. Revoking (unshare) sets it back to NULL.
ALTER TABLE lists
ADD COLUMN share_token TEXT UNIQUE;