refactor: add table primitive and migrations by date; feat: add mcp connectors

This commit is contained in:
willchen96 2026-06-15 17:34:58 +08:00
parent 01dfcfe0d4
commit 9a1277ba99
99 changed files with 9344 additions and 2320 deletions

View file

@ -0,0 +1,12 @@
-- Migration date: 2026-06-03
-- Remove unused document structure trees.
--
-- Safe to run before or after the document metadata migration because both
-- columns are optional and dropped conditionally.
ALTER TABLE public.document_versions
DROP COLUMN IF EXISTS structure_tree;
ALTER TABLE public.documents
DROP COLUMN IF EXISTS structure_tree;