]> Raphaël G. Git Repositories - userbundle/commitdiff
Add slug
authorRaphaël Gertz <git@rapsys.eu>
Mon, 23 Aug 2021 07:28:58 +0000 (09:28 +0200)
committerRaphaël Gertz <git@rapsys.eu>
Mon, 23 Aug 2021 07:28:58 +0000 (09:28 +0200)
Resources/config/doctrine/User.orm.yml

index 7d51e1cd7cf40c5686ec40159a545340dec764f1..deec53724198b3f7008e6a8c780d40ad64c3fc4d 100644 (file)
@@ -24,6 +24,11 @@ Rapsys\UserBundle\Entity\User:
         password:
             type: string
             length: 60
         password:
             type: string
             length: 60
+        slug:
+            type: string
+            unique: true
+            length: 32
+            nullable: true
         active:
             type: boolean
             options:
         active:
             type: boolean
             options: