X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/f110b8ba20232e0ceeb67390f8e672431868d32d..7cbe7a157ffe06d97ae81bb71a9f0c3b51be28b7:/Resources/config/doctrine/Slot.orm.yml?ds=inline diff --git a/Resources/config/doctrine/Slot.orm.yml b/Resources/config/doctrine/Slot.orm.yml index c4ff511..d09120d 100644 --- a/Resources/config/doctrine/Slot.orm.yml +++ b/Resources/config/doctrine/Slot.orm.yml @@ -10,10 +10,9 @@ Rapsys\AirBundle\Entity\Slot: options: unsigned: true fields: - begin: - type: time - end: - type: time + title: + type: string + length: 16 created: type: datetime updated: @@ -22,3 +21,5 @@ Rapsys\AirBundle\Entity\Slot: sessions: targetEntity: Rapsys\AirBundle\Entity\Session mappedBy: slot + lifecycleCallbacks: + preUpdate: ['preUpdate']