Skip to content
context Artifact [a8d3ee4837]
Login

Artifact [a8d3ee4837]

Artifact a8d3ee4837d29252216304a691c143d98b8d75de10f41d6765d869112d56a37d:


-- 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;