]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/config/doctrine/GoogleCalendar.orm.yml
Update styles
[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 nullable: true
31 created:
32 type: datetime
33 updated:
34 type: datetime
35 manyToOne:
36 googleToken:
37 targetEntity: Rapsys\AirBundle\Entity\GoogleToken
38 inversedBy: googleCalendars
39 joinColumn:
40 nullable: false
41 # uniqueConstraints:
42 # user_mail:
43 # columns: [ user_id, mail ]
44 lifecycleCallbacks:
45 preUpdate: ['preUpdate']