Files
Enterprise-Knowledge-Base/migrations/versioned/000068_storage_backends.down.sql
T
wizardchen f8b3e5f148 feat(storage): add multi-instance storage backends per workspace
Introduce tenant-scoped storage backend registry so workspaces can register
multiple storage instances and bind each knowledge base to a specific backend,
with migration from legacy tenant-level storage config and new settings UI.
2026-07-15 14:54:39 +08:00

5 lines
237 B
SQL

DROP INDEX IF EXISTS idx_knowledge_bases_storage_backend;
ALTER TABLE knowledge_bases DROP COLUMN IF EXISTS storage_backend_id;
ALTER TABLE tenants DROP COLUMN IF EXISTS default_storage_backend_id;
DROP TABLE IF EXISTS storage_backends;