X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/107ca5ae66910361dc5271d4e63483e83a6b2ee7..0d068fd3e188d5f80f718e1003bf7937ebd13049:/Resources/config/doctrine/Slot.orm.yml?ds=sidebyside diff --git a/Resources/config/doctrine/Slot.orm.yml b/Resources/config/doctrine/Slot.orm.yml index cd02ac3..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 - length: - 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']