-- Rollback migration 129: drop document_custom_metadata and its index. -- The FK cascade from documents takes care of any in-flight rows when the -- table itself is dropped, so no explicit DELETE is required. DROP INDEX IF EXISTS idx_dcm_doc_version_desc; DROP TABLE IF EXISTS document_custom_metadata;