Rapsys Git
/
userbundle
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add repository factory
[userbundle]
/
Resources
/
config
/
doctrine
/
Civility.orm.yml
diff --git
a/Resources/config/doctrine/Civility.orm.yml
b/Resources/config/doctrine/Civility.orm.yml
index a175fa8b04daadc7612ae26428c663f1e888a4e5..cce2efe8adc44c6d137010de2b380dbb87530e05 100644
(file)
--- a/
Resources/config/doctrine/Civility.orm.yml
+++ b/
Resources/config/doctrine/Civility.orm.yml
@@
-1,5
+1,6
@@
Rapsys\UserBundle\Entity\Civility:
type: mappedSuperclass
Rapsys\UserBundle\Entity\Civility:
type: mappedSuperclass
+# table: civilities
id:
id:
type: integer
id:
id:
type: integer
@@
-19,3
+20,5
@@
Rapsys\UserBundle\Entity\Civility:
# users:
# targetEntity: User
# mappedBy: title
# users:
# targetEntity: User
# mappedBy: title
+ lifecycleCallbacks:
+ preUpdate: ['preUpdate']