From: Raphaƫl Gertz Date: Sat, 2 Nov 2024 03:58:38 +0000 (+0100) Subject: Add album reference X-Git-Tag: 0.0.6~4 X-Git-Url: https://git.rapsys.eu/treebundle/commitdiff_plain/9e158f889ad0c44a3f6142ab9fef0b30b31281cb Add album reference --- diff --git a/config/doctrine/Resource.orm.yml b/config/doctrine/Resource.orm.yml index 470a66d..710be18 100644 --- a/config/doctrine/Resource.orm.yml +++ b/config/doctrine/Resource.orm.yml @@ -1,6 +1,6 @@ Rapsys\TreeBundle\Entity\Resource: type: entity - repositoryClass: Rapsys\TreeBundle\Repository\ResourceRepository + #repositoryClass: Rapsys\TreeBundle\Repository\ResourceRepository table: resources id: id: @@ -19,6 +19,9 @@ Rapsys\TreeBundle\Entity\Resource: updated: type: datetime manyToOne: + album: + targetEntity: Rapsys\TreeBundle\Entity\Album + inversedBy: resources user: targetEntity: Rapsys\TreeBundle\Entity\User inversedBy: resources