Files
query-orchestration/internal/database/migrations/00000000000129_create_document_custom_metadata.down.sql
T

7 lines
305 B
SQL
Raw Normal View History

-- 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;