adds context to database:delete event trigger