adding drop trigger logic for document indexing tables