strapi/examples/getstarted/api/country/models/Country.settings.json
soupette 4b207e6cc0 Add D&P key to all models. Change UI modal divider
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-09-22 17:39:10 +02:00

27 lines
460 B
JSON
Executable File

{
"collectionName": "countries",
"info": {
"name": "country",
"description": ""
},
"options": {
"draftAndPublish": false,
"increments": true,
"timestamps": ["created_at", "updated_at"],
"comment": ""
},
"attributes": {
"name": {
"type": "string",
"required": true,
"minLength": 3
},
"code": {
"type": "string",
"maxLength": 3,
"unique": true,
"minLength": 2
}
}
}