From: Raphaƫl Gertz Date: Sat, 28 Aug 2021 04:54:47 +0000 (+0200) Subject: Add dance link X-Git-Tag: 0.2.0~53 X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/commitdiff_plain/3ba5fad0cb35332d80a15484414769bb768541f2?hp=62564be28991a32bf3b72f334bd165da5bdb088d Add dance link Add preUpdate doctrine lifecycle callbacks --- diff --git a/Resources/config/doctrine/Application.orm.yml b/Resources/config/doctrine/Application.orm.yml index e52cc6e..38de0fe 100644 --- a/Resources/config/doctrine/Application.orm.yml +++ b/Resources/config/doctrine/Application.orm.yml @@ -21,12 +21,17 @@ Rapsys\AirBundle\Entity\Application: updated: type: datetime manyToOne: + dance: + targetEntity: Rapsys\AirBundle\Entity\Dance + inversedBy: applications session: targetEntity: Rapsys\AirBundle\Entity\Session inversedBy: applications user: targetEntity: Rapsys\AirBundle\Entity\User inversedBy: applications + lifecycleCallbacks: + preUpdate: ['preUpdate'] # oneToMany: # votes: # targetEntity: Rapsys\AirBundle\Entity\Vote