Rapsys Git
/
userbundle
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eda2d75
)
Add slug
author
Raphaël Gertz
<git@rapsys.eu>
Mon, 23 Aug 2021 07:28:58 +0000
(09:28 +0200)
committer
Raphaël Gertz
<git@rapsys.eu>
Mon, 23 Aug 2021 07:28:58 +0000
(09:28 +0200)
Resources/config/doctrine/User.orm.yml
patch
|
blob
|
history
diff --git
a/Resources/config/doctrine/User.orm.yml
b/Resources/config/doctrine/User.orm.yml
index 7d51e1cd7cf40c5686ec40159a545340dec764f1..deec53724198b3f7008e6a8c780d40ad64c3fc4d 100644
(file)
--- a/
Resources/config/doctrine/User.orm.yml
+++ b/
Resources/config/doctrine/User.orm.yml
@@
-24,6
+24,11
@@
Rapsys\UserBundle\Entity\User:
password:
type: string
length: 60
+ slug:
+ type: string
+ unique: true
+ length: 32
+ nullable: true
active:
type: boolean
options: