2019-08-05 10:31:18 +02:00
|
|
|
{
|
|
|
|
"connection": "default",
|
|
|
|
"collectionName": "users-permissions_user",
|
|
|
|
"info": {
|
|
|
|
"name": "user",
|
|
|
|
"description": ""
|
|
|
|
},
|
|
|
|
"options": {
|
2019-08-19 16:13:24 +02:00
|
|
|
"timestamps": [
|
|
|
|
"created_at",
|
|
|
|
"updated_at"
|
|
|
|
]
|
2019-08-05 10:31:18 +02:00
|
|
|
},
|
|
|
|
"attributes": {
|
|
|
|
"username": {
|
|
|
|
"type": "string",
|
|
|
|
"minLength": 3,
|
|
|
|
"unique": true,
|
|
|
|
"configurable": false,
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
"email": {
|
|
|
|
"type": "email",
|
|
|
|
"minLength": 6,
|
|
|
|
"configurable": false,
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "string",
|
|
|
|
"configurable": false
|
|
|
|
},
|
|
|
|
"password": {
|
|
|
|
"type": "password",
|
|
|
|
"minLength": 6,
|
|
|
|
"configurable": false,
|
|
|
|
"private": true
|
|
|
|
},
|
|
|
|
"resetPasswordToken": {
|
|
|
|
"type": "string",
|
|
|
|
"configurable": false,
|
|
|
|
"private": true
|
|
|
|
},
|
|
|
|
"confirmed": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
|
|
|
"configurable": false
|
|
|
|
},
|
|
|
|
"blocked": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false,
|
|
|
|
"configurable": false
|
|
|
|
},
|
|
|
|
"role": {
|
|
|
|
"model": "role",
|
|
|
|
"via": "users",
|
|
|
|
"plugin": "users-permissions",
|
|
|
|
"configurable": false
|
|
|
|
},
|
|
|
|
"picture": {
|
|
|
|
"model": "file",
|
|
|
|
"via": "related",
|
|
|
|
"plugin": "upload"
|
|
|
|
}
|
|
|
|
}
|
2019-08-19 16:13:24 +02:00
|
|
|
}
|