openmicroscopy/openmicroscopy — pull request #2687 by joshmoore (2014-06-25 15:17:27+00:00)
Title: DB: Annotation link insert triggers for search

REINDEX event logs were only being created for annotation
and annotationlink UPDATE and DELETE actions meaning that
on new tag creation created, re-indexing of the annotated
object was not happening.

This commit adds DBInsertTriggerCheck which adds triggers
once on startup. If this fails (due to permissions, etc.)
only ERRORs will be printed to the log. An admin can then
try executing the included insert-triggers.sql file again