X-Git-Url: https://git.rapsys.eu/treebundle/blobdiff_plain/70edf31fc8c7162f074d6a519de743e2c3995f03..514fae21154eeaacc2e1451bda48c0308dcc15a7:/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']