]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/config/doctrine/User.orm.yml
Hardcode facebook namespace prefixes
[airbundle] / Resources / config / doctrine / User.orm.yml
1 Rapsys\AirBundle\Entity\User:
2 type: entity
3 repositoryClass: Rapsys\AirBundle\Repository\UserRepository
4 table: users
5 fields:
6 city:
7 type: string
8 length: 64
9 nullable: true
10 phone:
11 type: string
12 length: 16
13 nullable: true
14 pseudonym:
15 type: string
16 length: 32
17 nullable: true
18 zipcode:
19 type: string
20 length: 5
21 nullable: true
22 oneToMany:
23 applications:
24 targetEntity: Rapsys\AirBundle\Entity\Application
25 mappedBy: user
26 snippets:
27 targetEntity: Rapsys\AirBundle\Entity\Snippet
28 mappedBy: user
29 manyToMany:
30 dances:
31 targetEntity: Rapsys\AirBundle\Entity\Dance
32 inversedBy: users
33 joinTable:
34 name: users_dances
35 joinColumns:
36 id:
37 name: user_id
38 inverseJoinColumns:
39 id:
40 name: dance_id
41 subscribers:
42 targetEntity: Rapsys\AirBundle\Entity\User
43 inversedBy: subscriptions
44 joinTable:
45 name: users_subscriptions
46 joinColumns:
47 id:
48 name: user_id
49 inverseJoinColumns:
50 id:
51 name: subscriber_id
52 subscriptions:
53 targetEntity: Rapsys\AirBundle\Entity\User
54 mappedBy: subscribers
55 locations:
56 targetEntity: Rapsys\AirBundle\Entity\Location
57 inversedBy: users
58 joinTable:
59 name: users_locations
60 joinColumns:
61 id:
62 name: user_id
63 inverseJoinColumns:
64 id:
65 name: location_id
66 manyToOne:
67 country:
68 targetEntity: Rapsys\AirBundle\Entity\Country
69 inversedBy: users
70 # manyToMany:
71 # groups:
72 # targetEntity: Group
73 # inversedBy: users
74 # joinTable:
75 # name: groups_users
76 associationOverride:
77 groups:
78 joinTable:
79 name: users_groups
80 joinColumns:
81 id:
82 name: user_id
83 inverseJoinColumns:
84 id:
85 name: group_id