X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/6d194a3ff1cb9e76c02e25f02358953ddefdd852..acc0ce3394eb382681856872ed1ce8ad80b4e3e5:/Resources/config/doctrine/GoogleCalendar.orm.yml?ds=inline diff --git a/Resources/config/doctrine/GoogleCalendar.orm.yml b/Resources/config/doctrine/GoogleCalendar.orm.yml new file mode 100644 index 0000000..73ac000 --- /dev/null +++ b/Resources/config/doctrine/GoogleCalendar.orm.yml @@ -0,0 +1,45 @@ +Rapsys\AirBundle\Entity\GoogleCalendar: + type: entity + #repositoryClass: Rapsys\AirBundle\Repository\GoogleCalendarRepository + table: google_calendars + id: + id: + type: integer + generator: + strategy: AUTO + options: + unsigned: true + fields: + mail: + type: string + length: 1024 + summary: + type: string + length: 255 +# description: +# type: string +# length: 200 +# location: +# type: string +# length: 1024 +# timezone: +# type: string +# length: 32 + synchronized: + type: datetime + nullable: true + created: + type: datetime + updated: + type: datetime + manyToOne: + googleToken: + targetEntity: Rapsys\AirBundle\Entity\GoogleToken + inversedBy: googleCalendars + joinColumn: + nullable: false +# uniqueConstraints: +# user_mail: +# columns: [ user_id, mail ] + lifecycleCallbacks: + preUpdate: ['preUpdate']