[migration] test if entity type has been in the deleted in the transaction should protect both clauses
else we may attempt to execute the UPDATE query on a table which has been
deleted.
Closes #10692374
from cubicweb.predicates import is_instance
from cubicweb.hooks import notification
class FolderUpdateHook(notification.EntityUpdateHook):
__select__ = (notification.EntityUpdateHook.__select__ &
is_instance('Folder'))
order = 100 # late trigger so that metadata hooks come before.