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