bossbuwi / existence

The world is waiting.
2 stars 0 forks source link

Event tsv trigger not running properly #94

Open bossbuwi opened 2 years ago

bossbuwi commented 2 years ago

The trigger on sonata_event's tsv column is not running if a transaction has multiple inserts in it. I'm guessing that this behavior also happens if the transaction has multiple updates. Rework the trigger and the check if a constraint trigger will do the job. This, however would result in a breaking change, preventing users of previous releases from updating directly to v2.0.