From: Raphaƫl Gertz Date: Tue, 4 Oct 2022 07:02:54 +0000 (+0200) Subject: Add user dance table X-Git-Tag: 0.3.0~223 X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/70fc6559a3cbf9c31942b4fcd261c8634749d216 Add user dance table --- diff --git a/Repository/EntityRepository.php b/Repository/EntityRepository.php index fb07c0b..927d080 100644 --- a/Repository/EntityRepository.php +++ b/Repository/EntityRepository.php @@ -101,6 +101,7 @@ class EntityRepository extends BaseEntityRepository { //XXX: this allow to make this code table name independent //XXX: remember to place longer prefix before shorter to avoid strange replacings $tables = [ + 'RapsysAirBundle:UserDance' => $qs->getJoinTableName($manager->getClassMetadata('RapsysAirBundle:User')->getAssociationMapping('dances'), $manager->getClassMetadata('RapsysAirBundle:User'), $dp), 'RapsysAirBundle:UserGroup' => $qs->getJoinTableName($manager->getClassMetadata('RapsysAirBundle:User')->getAssociationMapping('groups'), $manager->getClassMetadata('RapsysAirBundle:User'), $dp), 'RapsysAirBundle:UserLocation' => $qs->getJoinTableName($manager->getClassMetadata('RapsysAirBundle:User')->getAssociationMapping('locations'), $manager->getClassMetadata('RapsysAirBundle:User'), $dp), 'RapsysAirBundle:Application' => $qs->getTableName($manager->getClassMetadata('RapsysAirBundle:Application'), $dp),