Skip to content
context Artifact [2daebca9a5]
Login

Artifact [2daebca9a5]

Artifact 2daebca9a519faff6943e22f1e0ad1997b0562cb1edbeffdadd75107623c76ec:


-- Version 27 to 26: the invariant tables and the invariants switch go. Each invariant stays a rule
-- of its own project, as it was before it was marked; version 26 reads `kind: invariant` as nothing.
-- Run on its own, with nothing else holding the archive:
--   sqlite3 ~/.ctx/ctx.sqlite < schema/migrate/27-down.sql   (or: ctx migrate down 26)

BEGIN IMMEDIATE;
DROP TABLE IF EXISTS ctx_invariant_served;
DROP TABLE IF EXISTS ctx_invariant;
DELETE FROM ctx_meta WHERE key = 'invariants';

PRAGMA user_version = 26;
COMMIT;