]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/config/doctrine/GoogleCalendar.orm.yml
Use new form name
[airbundle] / Resources / config / doctrine / GoogleCalendar.orm.yml
1 Rapsys\AirBundle\Entity\GoogleCalendar:
2 type: entity
3 #repositoryClass: Rapsys\AirBundle\Repository\GoogleCalendarRepository
4 table: google_calendars
5 id:
6 id:
7 type: integer
8 generator:
9 strategy: AUTO
10 options:
11 unsigned: true
12 fields:
13 mail:
14 type: string
15 length: 1024
16 summary:
17 type: string
18 length: 255
19 # description:
20 # type: string
21 # length: 200
22 # location:
23 # type: string
24 # length: 1024
25 # timezone:
26 # type: string
27 # length: 32
28 synchronized:
29 type: datetime
30 created:
31 type: datetime
32 updated:
33 type: datetime
34 manyToOne:
35 googleToken:
36 targetEntity: Rapsys\AirBundle\Entity\GoogleToken
37 inversedBy: googleCalendars
38 joinColumn:
39 nullable: false
40 # uniqueConstraints:
41 # user_mail:
42 # columns: [ user_id, mail ]
43 lifecycleCallbacks:
44 preUpdate: ['preUpdate']