25fdaed8ca
- Added support for creating and managing FAQ knowledge bases, including new API endpoints for listing, upserting, updating, and deleting FAQ entries. - Enhanced the frontend to allow users to create FAQ knowledge bases and manage FAQ entries with a dedicated interface. - Introduced new types and configurations for FAQ handling in the backend, ensuring proper indexing and retrieval of FAQ entries. - Updated localization files to include new strings related to FAQ management in multiple languages. - Refactored existing components to accommodate the new FAQ features, improving user experience and functionality.
13 lines
197 B
PL/PgSQL
13 lines
197 B
PL/PgSQL
-- 08-add-faq-support rollback
|
|
BEGIN;
|
|
|
|
ALTER TABLE chunks
|
|
DROP COLUMN IF EXISTS metadata;
|
|
|
|
ALTER TABLE knowledge_bases
|
|
DROP COLUMN IF EXISTS faq_config,
|
|
DROP COLUMN IF EXISTS type;
|
|
|
|
COMMIT;
|
|
|