Rapsys Git
/
airbundle
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New color set
[airbundle]
/
Resources
/
config
/
doctrine
/
Slot.orm.yml
diff --git
a/Resources/config/doctrine/Slot.orm.yml
b/Resources/config/doctrine/Slot.orm.yml
index cd02ac35506674d8b53c649dc40368eea7eba69f..d09120d8bcb001419d36eef9704c61099cfbdd67 100644
(file)
--- 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:
options:
unsigned: true
fields:
- begin:
- type: time
- length:
- type: time
+ title:
+ type: string
+ length: 16
created:
type: datetime
updated:
created:
type: datetime
updated:
@@
-22,3
+21,5
@@
Rapsys\AirBundle\Entity\Slot:
sessions:
targetEntity: Rapsys\AirBundle\Entity\Session
mappedBy: slot
sessions:
targetEntity: Rapsys\AirBundle\Entity\Session
mappedBy: slot
+ lifecycleCallbacks:
+ preUpdate: ['preUpdate']