X-Git-Url: https://git.rapsys.eu/userbundle/blobdiff_plain/df94857cce26f0b56c1cccaf5c5929fa6422efbf..a410610ad184292cb2df65cc0dfb052470d2a69d:/Resources/config/doctrine/User.orm.yml 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']