feat(wiki): add page hierarchy/category metadata and retrieval APIs
Persist category and hierarchy metadata on wiki pages (new migration), expose category-path retrieval and related repository/service/handler/router APIs, and update wiki ingestion (batch, cite, taxonomy) plus agent wiki prompts to build and consume the taxonomy. Regenerate swagger docs for the new endpoints.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
-- 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;
|
||||
Reference in New Issue
Block a user