feat: Implement knowledge tag management and batch updates for FAQ entries
- Added API functions for listing, creating, updating, and deleting knowledge base tags. - Introduced batch update functionality for enabling/disabling FAQ entries and updating their tags. - Enhanced the KnowledgeBase.vue and FAQEntryManager.vue components to support tag management and batch operations. - Updated localization files to include new strings related to tag management and batch operations.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
-- 000010_add_embeddings_is_enabled.up.sql
|
||||
-- Add is_enabled column to embeddings table
|
||||
|
||||
BEGIN;
|
||||
|
||||
-- Add is_enabled column to embeddings table
|
||||
ALTER TABLE embeddings
|
||||
ADD COLUMN IF NOT EXISTS is_enabled BOOLEAN DEFAULT TRUE;
|
||||
|
||||
-- Create index for is_enabled column
|
||||
CREATE INDEX IF NOT EXISTS idx_embeddings_is_enabled
|
||||
ON embeddings(is_enabled);
|
||||
|
||||
COMMIT;
|
||||
|
||||
Reference in New Issue
Block a user