X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/03221a9bace824b7e60db774425407f225d61460..0fef6d04b13ead8ded7ce2bb73b617f5409890b9:/Resources/config/doctrine/Application.orm.yml 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