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
uniqueConstraints:
locale_location_user:
columns: [ locale, location_id, user_id ]
+ lifecycleCallbacks:
+ preUpdate: ['preUpdate']