fdf5d9d781
- 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.
16 lines
360 B
PL/PgSQL
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;
|
|
|