renamed parent to respective table_id and fixed dropIndex missing tablename