fields:
locale:
type: string
- length: 2
+ length: 5
description:
type: text
+ nullable: true
+ class:
+ type: text
+ nullable: true
+ short:
+ type: text
+ nullable: true
+ rate:
+ type: integer
+ nullable: true
+ options:
+ unsigned: true
+ hat:
+ type: boolean
+ nullable: true
+ options:
+ default: true
+ contact:
+ type: string
+ length: 254
+ nullable: true
+ donate:
+ type: string
+ length: 254
+ nullable: true
+ link:
+ type: string
+ length: 254
+ nullable: true
+ profile:
+ type: string
+ length: 254
+ nullable: true
created:
type: datetime
updated:
uniqueConstraints:
locale_location_user:
columns: [ locale, location_id, user_id ]
+ lifecycleCallbacks:
+ preUpdate: ['preUpdate']