]> Raphaƫl G. Git Repositories - treebundle/blob - config/doctrine/User.orm.yml
Add languages extra argument
[treebundle] / config / doctrine / User.orm.yml
1 Rapsys\TreeBundle\Entity\User:
2 type: entity
3 repositoryClass: Rapsys\TreeBundle\Repository\UserRepository
4 table: users
5 # fields:
6 # pseudonym:
7 # type: string
8 # length: 64
9 # nullable: true
10 # slug:
11 # type: string
12 # length: 64
13 # unique: true
14 # nullable: true
15 oneToMany:
16 resources:
17 targetEntity: Rapsys\TreeBundle\Entity\Resource
18 mappedBy: user
19 # manyToMany:
20 # groups:
21 # targetEntity: Group
22 # inversedBy: users
23 # joinTable:
24 # name: users_groups
25 associationOverride:
26 groups:
27 joinTable:
28 name: users_groups
29 joinColumns:
30 id:
31 name: user_id
32 inverseJoinColumns:
33 id:
34 name: group_id