Files
tenant-registry/migrations/0023_store_takes_own_documents.down.sql
T
sharangandClaude Opus 5.5 ad4fe8f3fd
ci / shared (push) Successful in 14s
ci / test (push) Successful in 26m6s
ci / image (push) Successful in 38s
feat(store): Unterlagen merge into the document store (#89)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 18:04:53 +00:00

5 lines
265 B
SQL

-- Back to Unterlagen: internal documents not sent for preparation and not
-- imported (which is what an own document of Unterlagen was).
UPDATE documents SET area = NULL
WHERE area = 'internal' AND own_document AND processing_status = 'none' AND external_id = '';