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