Files
Enterprise-Knowledge-Base/migrations/versioned/000010_add_embeddings_is_enabled.up.sql
T
wizardchen fdf5d9d781 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.
2025-11-18 11:48:37 +08:00

16 lines
360 B
PL/PgSQL

-- 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;