SysOps: voice-agy-webbuilder-backup — 2026-06-23 10:04 UTC

This commit is contained in:
sysops
2026-06-23 10:04:23 +00:00
parent 3bf15c4850
commit 26fe76afdd
165 changed files with 47427 additions and 1264 deletions
+14
View File
@@ -0,0 +1,14 @@
-- User-defined labels for NAS documents and OCR photos
ALTER TABLE document_analytics
ADD COLUMN IF NOT EXISTS user_labels TEXT[] DEFAULT '{}',
ADD COLUMN IF NOT EXISTS label_notes TEXT,
ADD COLUMN IF NOT EXISTS labeled_at TIMESTAMPTZ;
ALTER TABLE photo_imports
ADD COLUMN IF NOT EXISTS user_labels TEXT[] DEFAULT '{}',
ADD COLUMN IF NOT EXISTS label_notes TEXT,
ADD COLUMN IF NOT EXISTS labeled_at TIMESTAMPTZ;
CREATE INDEX IF NOT EXISTS idx_doc_analytics_user_labels ON document_analytics USING GIN (user_labels);
CREATE INDEX IF NOT EXISTS idx_photo_imports_user_labels ON photo_imports USING GIN (user_labels);