]> Raphaƫl G. Git Repositories - userbundle/blobdiff - Resources/config/doctrine/User.orm.yml
Add default admin role
[userbundle] / Resources / config / doctrine / User.orm.yml
index 7d51e1cd7cf40c5686ec40159a545340dec764f1..24300a23fcfca5c48d0161c99201abada9ce8195 100644 (file)
@@ -12,15 +12,14 @@ Rapsys\UserBundle\Entity\User:
             type: string
             unique: true
             length: 254
-        pseudonym:
-            type: string
-            length: 32
         forename:
             type: string
             length: 32
+            nullable: true
         surname:
             type: string
             length: 32
+            nullable: true
         password:
             type: string
             length: 60
@@ -28,10 +27,10 @@ Rapsys\UserBundle\Entity\User:
             type: boolean
             options:
                 default: true
-        disabled:
+        enable:
             type: boolean
             options:
-                default: false
+                default: true
         created:
             type: datetime
         updated: