Add relations
This commit is contained in:
@@ -44,14 +44,20 @@
|
|||||||
"type": "relation",
|
"type": "relation",
|
||||||
"relation": "manyToMany",
|
"relation": "manyToMany",
|
||||||
"target": "api::tek.tek",
|
"target": "api::tek.tek",
|
||||||
"inversedBy": "teks"
|
"inversedBy": "awtis"
|
||||||
},
|
},
|
||||||
"user": {
|
"users_permissions_user": {
|
||||||
"plugin": "users-permissions",
|
"type": "relation",
|
||||||
"model": "user"
|
"relation": "oneToOne",
|
||||||
|
"target": "plugin::users-permissions.user"
|
||||||
},
|
},
|
||||||
"slug": {
|
"slug": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
},
|
||||||
|
"admin_user": {
|
||||||
|
"type": "relation",
|
||||||
|
"relation": "oneToOne",
|
||||||
|
"target": "admin::user"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,9 +21,10 @@
|
|||||||
"type": "richtext",
|
"type": "richtext",
|
||||||
"required": true
|
"required": true
|
||||||
},
|
},
|
||||||
"user": {
|
"users_permissions_user": {
|
||||||
"plugin": "users-permissions",
|
"type": "relation",
|
||||||
"model": "user"
|
"relation": "oneToOne",
|
||||||
|
"target": "plugin::users-permissions.user"
|
||||||
},
|
},
|
||||||
"teks": {
|
"teks": {
|
||||||
"type": "relation",
|
"type": "relation",
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
"type": "relation",
|
"type": "relation",
|
||||||
"relation": "manyToMany",
|
"relation": "manyToMany",
|
||||||
"target": "api::awti.awti",
|
"target": "api::awti.awti",
|
||||||
"mappedBy": "tek"
|
"mappedBy": "teks"
|
||||||
},
|
},
|
||||||
"kouteyAchtey": {
|
"kouteyAchtey": {
|
||||||
"type": "component",
|
"type": "component",
|
||||||
@@ -61,9 +61,10 @@
|
|||||||
"okiMizikID": {
|
"okiMizikID": {
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
"user": {
|
"users_permissions_user": {
|
||||||
"plugin": "users-permissions",
|
"type": "relation",
|
||||||
"model": "user"
|
"relation": "oneToOne",
|
||||||
|
"target": "plugin::users-permissions.user"
|
||||||
},
|
},
|
||||||
"eksplisit": {
|
"eksplisit": {
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
@@ -79,8 +80,10 @@
|
|||||||
"tradiksyonOtomatik": {
|
"tradiksyonOtomatik": {
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
"userAdmin": {
|
"admin_user": {
|
||||||
"type": "string"
|
"type": "relation",
|
||||||
|
"relation": "oneToOne",
|
||||||
|
"target": "admin::user"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user