e76738d054
Add new API functions for managing wiki folders, including creating, updating, deleting, and listing folders. Introduce a new WikiFolder interface to represent folder structure and enhance the WikiBrowser component with folder actions. Update internationalization strings for folder-related actions in English, Korean, Russian, and Chinese locales. Refactor existing code to accommodate folder hierarchy and improve user experience in the wiki browser.
16 lines
568 B
SQL
16 lines
568 B
SQL
-- 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; |