mirror of
https://github.com/strapi/strapi.git
synced 2025-12-28 15:44:59 +00:00
64 lines
1.2 KiB
JSON
64 lines
1.2 KiB
JSON
{
|
|
"collectionName": "up_users",
|
|
"info": {
|
|
"name": "user",
|
|
"description": ""
|
|
},
|
|
"options": {
|
|
"draftAndPublish": false,
|
|
"timestamps": true
|
|
},
|
|
"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
|
|
},
|
|
"confirmationToken": {
|
|
"type": "string",
|
|
"configurable": false,
|
|
"private": true
|
|
},
|
|
"confirmed": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"configurable": false
|
|
},
|
|
"blocked": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"configurable": false
|
|
},
|
|
"role": {
|
|
"type": "relation",
|
|
"relation": "manyToOne",
|
|
"target": "plugins::users-permissions.role",
|
|
"inversedBy": "users",
|
|
"configurable": false
|
|
}
|
|
}
|
|
}
|