X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/blobdiff_plain/bf931483b4140b53d95a30a93808bfc118ed18c9..6ccedcf49c3abe5e576c841e0a0e6fca60a657cb:/Resources/config/doctrine/Snippet.orm.yml diff --git a/Resources/config/doctrine/Snippet.orm.yml b/Resources/config/doctrine/Snippet.orm.yml index 4b172d6..85253f3 100644 --- a/Resources/config/doctrine/Snippet.orm.yml +++ b/Resources/config/doctrine/Snippet.orm.yml @@ -52,3 +52,5 @@ Rapsys\AirBundle\Entity\Snippet: uniqueConstraints: locale_location_user: columns: [ locale, location_id, user_id ] + lifecycleCallbacks: + preUpdate: ['preUpdate']