X-Git-Url: https://git.rapsys.eu/treebundle/blobdiff_plain/70edf31fc8c7162f074d6a519de743e2c3995f03..d3798da0c79794f2355b3002b36faf7e8e8fc95e:/config/doctrine/Album.orm.yml?ds=sidebyside 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']