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