Files
codex/codex-rs/state/migrations/0033_thread_search.sql
T

13 lines
260 B
SQL

CREATE VIRTUAL TABLE thread_search USING fts5(
thread_id UNINDEXED,
body
);
UPDATE backfill_state
SET
status = 'pending',
last_watermark = NULL,
last_success_at = NULL,
updated_at = CAST(strftime('%s', 'now') AS INTEGER)
WHERE id = 1;