Folder uploads used to encode their relative directory inside file_name, which made the document list render the whole path as the title and left no way to browse or query a single folder. The directory now lives in a dedicated folder_path column (with a backfill for existing rows), the document list accepts folder_path / folder_recursive filters, and a new GET /knowledge-bases/:id/knowledge/folders endpoint returns the folder tree with per-folder document counts. |
||
|---|---|---|
| .. | ||
| 000000_init.down.sql | ||
| 000000_init.up.sql | ||
| 000001_remove_wiki_log.down.sql | ||
| 000001_remove_wiki_log.up.sql | ||
| 000002_knowledge_folder_path.down.sql | ||
| 000002_knowledge_folder_path.up.sql | ||