Artifact a8d3ee4837d29252216304a691c143d98b8d75de10f41d6765d869112d56a37d:
- File schema/migrate/26-down.sql — part of check-in [15ccfab9a4] at 2026-12-02 14:54:31 on branch worker-wake — Tell a watching session once when its ticket is done or dropped (user: dmestas, size: 471) [annotate] [blame] [check-ins using]
-- Version 26 to 25: the watch table and the watch switch go. Watches not yet delivered are lost; -- the tickets and their results stay. -- Run on its own, with nothing else holding the archive: -- sqlite3 ~/.ctx/ctx.sqlite < schema/migrate/26-down.sql (or: ctx migrate down 25) BEGIN IMMEDIATE; DROP INDEX IF EXISTS ctx_ticket_watch_waiting; DROP TABLE IF EXISTS ctx_ticket_watch; DELETE FROM ctx_meta WHERE key = 'ticket_watch'; PRAGMA user_version = 25; COMMIT;