Rapsys Git
/
userbundle
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add user cache in framework cache pools
[userbundle]
/
Resources
/
config
/
doctrine
/
Group.orm.yml
diff --git
a/Resources/config/doctrine/Group.orm.yml
b/Resources/config/doctrine/Group.orm.yml
index 6dfe856db00c556b715d7adcce39172f0b3ff794..d05124f233e2b308496b0ece7eb31cf001533cea 100644
(file)
--- a/
Resources/config/doctrine/Group.orm.yml
+++ b/
Resources/config/doctrine/Group.orm.yml
@@
-1,5
+1,6
@@
Rapsys\UserBundle\Entity\Group:
type: mappedSuperclass
Rapsys\UserBundle\Entity\Group:
type: mappedSuperclass
+# table: groups
id:
id:
type: integer
id:
id:
type: integer
@@
-8,9
+9,9
@@
Rapsys\UserBundle\Entity\Group:
options:
unsigned: true
fields:
options:
unsigned: true
fields:
-
ro
le:
+
tit
le:
type: string
type: string
- length:
20
+ length:
16
created:
type: datetime
updated:
created:
type: datetime
updated:
@@
-19,3
+20,5
@@
Rapsys\UserBundle\Entity\Group:
# users:
# targetEntity: User
# mappedBy: groups
# users:
# targetEntity: User
# mappedBy: groups
+ lifecycleCallbacks:
+ preUpdate: ['preUpdate']