00bf0460cc
- Introduced a new API endpoint to toggle the pin status of knowledge bases, allowing users to pin important entries to the top of the list. - Updated the frontend to include UI elements for pinning and unpinning knowledge bases, with corresponding success and error messages. - Enhanced localization support by adding translations for pinning actions in English, Korean, Russian, and Chinese. - Modified the database schema to include `is_pinned` and `pinned_at` fields for knowledge bases, enabling persistent pinning status. These changes improve the organization and accessibility of knowledge bases, enhancing user experience by allowing quick access to prioritized entries.
4 lines
174 B
SQL
4 lines
174 B
SQL
-- Remove pin (置顶) support from knowledge bases
|
|
ALTER TABLE knowledge_bases DROP COLUMN IF EXISTS pinned_at;
|
|
ALTER TABLE knowledge_bases DROP COLUMN IF EXISTS is_pinned;
|