X-Git-Url: https://git.rapsys.eu/userbundle/blobdiff_plain/df94857cce26f0b56c1cccaf5c5929fa6422efbf..07387af34cc2555bf0f626622b9baf405680b7df:/Resources/config/doctrine/User.orm.yml?ds=inline diff --git a/Resources/config/doctrine/User.orm.yml b/Resources/config/doctrine/User.orm.yml index a621be7..7d51e1c 100644 --- a/Resources/config/doctrine/User.orm.yml +++ b/Resources/config/doctrine/User.orm.yml @@ -28,6 +28,10 @@ Rapsys\UserBundle\Entity\User: type: boolean options: default: true + disabled: + type: boolean + options: + default: false created: type: datetime updated: @@ -43,3 +47,5 @@ Rapsys\UserBundle\Entity\User: #see if usefull: https://stackoverflow.com/questions/34523699/how-to-extend-doctrine-entity-in-another-bundle # joinTable: # name: groups_users + lifecycleCallbacks: + preUpdate: ['preUpdate']