fix make usernames required

This commit is contained in:
Berkeley Martinez
2015-06-12 13:14:07 -07:00
parent 173d46ae01
commit 63937c3a56
2 changed files with 15 additions and 3 deletions

View File

@ -44,7 +44,8 @@
"username": { "username": {
"type": "string", "type": "string",
"lowercase": true, "lowercase": true,
"trim": true "trim": true,
"id": true
}, },
"bio": { "bio": {
"type": "string", "type": "string",
@ -226,7 +227,18 @@
} }
}, },
"validations": [], "validations": [],
"relations": {}, "relations": {
"credentials": {
"type": "hasMany",
"model": "userCredential",
"foreignKey": ""
},
"identities": {
"type": "hasMany",
"model": "userIdentity",
"foreignKey": ""
}
},
"acls": [ "acls": [
{ {
"accessType": "*", "accessType": "*",