X-Git-Url: https://git.rapsys.eu/treebundle/blobdiff_plain/e2432989d03536f53ea8d9b6bf1cfc91c1b6077f..d1f5c6c9ff6d8e7435f0bfba5983b327c89266d4:/config/doctrine/Album.orm.yml diff --git a/config/doctrine/Album.orm.yml b/config/doctrine/Album.orm.yml index 05cbd62..54659b0 100644 --- a/config/doctrine/Album.orm.yml +++ b/config/doctrine/Album.orm.yml @@ -25,8 +25,8 @@ Rapsys\TreeBundle\Entity\Album: updated: type: datetime oneToMany: - assets: - targetEntity: Rapsys\TreeBundle\Entity\Asset + elements: + targetEntity: Rapsys\TreeBundle\Entity\Element mappedBy: album lifecycleCallbacks: preUpdate: ['preUpdate']