Drop legacy document columns and approver tables

The title, classification, and document_type columns have been moved to
document_versions. The document_approvers and document_version_approvers
tables have been replaced by approval quorums and decisions.

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
Sacha Al Himdani
2026-04-09 20:16:26 +02:00
parent 39c02beef3
commit eeee93e464
5 changed files with 22 additions and 6 deletions

View File

@@ -8,5 +8,4 @@ WHERE dv.document_id = d.id;
ALTER TABLE document_versions ALTER COLUMN document_type DROP DEFAULT;
-- TODO: drop the document_type column from documents.
ALTER TABLE documents ALTER COLUMN document_type SET DEFAULT 'OTHER';