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