X-Git-Url: https://git.rapsys.eu/userbundle/blobdiff_plain/bab59a4b88a081a7a27a53b4559d74e63b68db92..522c2cc48f7a6188b14c125b04371d20b672ada8:/Resources/config/doctrine/Group.orm.yml?ds=inline diff --git a/Resources/config/doctrine/Group.orm.yml b/Resources/config/doctrine/Group.orm.yml index 6dfe856..d05124f 100644 --- a/Resources/config/doctrine/Group.orm.yml +++ b/Resources/config/doctrine/Group.orm.yml @@ -1,5 +1,6 @@ Rapsys\UserBundle\Entity\Group: type: mappedSuperclass +# table: groups id: id: type: integer @@ -8,9 +9,9 @@ Rapsys\UserBundle\Entity\Group: options: unsigned: true fields: - role: + title: type: string - length: 20 + length: 16 created: type: datetime updated: @@ -19,3 +20,5 @@ Rapsys\UserBundle\Entity\Group: # users: # targetEntity: User # mappedBy: groups + lifecycleCallbacks: + preUpdate: ['preUpdate']