From 9e158f889ad0c44a3f6142ab9fef0b30b31281cb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Sat, 2 Nov 2024 04:58:38 +0100 Subject: [PATCH] Add album reference --- config/doctrine/Resource.orm.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.41.1