CREATE VIRTUAL TABLE IF NOT EXISTS fts_history USING fts5(id UNINDEXED, user_id UNINDEXED, text, date UNINDEXED, topic_id UNINDEXED, content='history_entries', content_rowid='rowid', tokenize='unicode61');
--> statement-breakpoint
CREATE VIRTUAL TABLE IF NOT EXISTS fts_pages USING fts5(id UNINDEXED, user_id UNINDEXED, title, body, content='pages', content_rowid='rowid', tokenize='unicode61');
--> statement-breakpoint
INSERT INTO fts_history(fts_history) VALUES('rebuild');
--> statement-breakpoint
INSERT INTO fts_pages(fts_pages) VALUES('rebuild');
