Skip to content

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

568 B
Raw Blame
-- Migration: 000061_wiki_page_hierarchy (rollback)

DROP INDEX IF EXISTS idx_wiki_pages_tree;
DROP INDEX IF EXISTS idx_wiki_pages_parent_slug;

ALTER TABLE wiki_pages DROP COLUMN IF EXISTS sort_order;
ALTER TABLE wiki_pages DROP COLUMN IF EXISTS depth;
ALTER TABLE wiki_pages DROP COLUMN IF EXISTS wiki_path;
ALTER TABLE wiki_pages DROP COLUMN IF EXISTS category_path;
ALTER TABLE wiki_pages DROP COLUMN IF EXISTS parent_slug;

ALTER TABLE wiki_pages DROP COLUMN IF EXISTS folder_id;

DROP TABLE IF EXISTS wiki_folders;

DROP INDEX IF EXISTS idx_wiki_pages_folder_id;