strapi tag update

This commit is contained in:
tmshv committed 2021-01-31 04:02:17 +03:00
1 parent c5a54e487c
commit c7b329f4df
2 files changed
+7 -6

No files matched your search

@@ -36,8 +36,8 @@
] ]
}, },
"tags": { "tags": {
"collection": "tag", "via": "page",
"via": "page" "collection": "tag"
}, },
"slug": { "slug": {
"type": "string", "type": "string",
@@ -2,7 +2,8 @@
"kind": "collectionType", "kind": "collectionType",
"collectionName": "tags", "collectionName": "tags",
"info": { "info": {
"name": "Tag" "name": "Tag",
"description": ""
}, },
"options": { "options": {
"increments": true, "increments": true,
@@ -14,14 +15,14 @@
"type": "string", "type": "string",
"required": true, "required": true,
"unique": true, "unique": true,
"minLength": 3 "minLength": 1
}, },
"name": { "name": {
"type": "string" "type": "string"
}, },
"page": { "page": {
"via": "tags", "model": "page",
"model": "page" "via": "tags"
} }
} }
} }