]> Raphaël G. Git Repositories - airbundle/commitdiff
Add user dance table
authorRaphaël Gertz <git@rapsys.eu>
Tue, 4 Oct 2022 07:02:54 +0000 (09:02 +0200)
committerRaphaël Gertz <git@rapsys.eu>
Tue, 4 Oct 2022 07:02:54 +0000 (09:02 +0200)
Repository/EntityRepository.php

index fb07c0b0537ff45cd5f319da2227f34140a4c687..927d08031926aba300d4de40afbbfb38dcab5ce6 100644 (file)
@@ -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 = [
                //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),
                        '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),