introducing junction table extension

This commit is contained in:
2026-03-09 22:42:40 +01:00
parent 47634c81ef
commit 3361cffb14
28 changed files with 1927 additions and 5 deletions

View File

@@ -0,0 +1,65 @@
{
"fields": {
"id": {
"type": "id",
"dbType": "bigint",
"autoincrement": true,
"notStorable": false
},
"cAICollections": {
"type": "link"
},
"cAICollectionsId": {
"type": "varchar",
"len": 17,
"index": true
},
"cAICollectionsName": {
"type": "varchar",
"notStorable": true,
"relation": "cAICollections",
"isLinkStub": true
},
"cDokumente": {
"type": "link"
},
"cDokumenteId": {
"type": "varchar",
"len": 17,
"index": true
},
"cDokumenteName": {
"type": "varchar",
"notStorable": true,
"relation": "cDokumente",
"isLinkStub": true
},
"syncId": {
"type": "varchar",
"len": 255,
"isCustom": true
},
"deleted": {
"type": "bool",
"default": false
}
},
"links": {
"cAICollections": {
"type": "belongsTo",
"entity": "CAICollections",
"key": "cAICollectionsId",
"foreignKey": "id"
},
"cDokumente": {
"type": "belongsTo",
"entity": "CDokumente",
"key": "cDokumenteId",
"foreignKey": "id"
}
},
"collection": {
"orderBy": "id",
"order": "desc"
}
}

View File

@@ -75,6 +75,14 @@
"entity": "Email",
"foreign": "parent",
"layoutRelationshipsDisabled": true
},
"cDokumente": {
"type": "hasMany",
"entity": "CDokumente",
"foreign": "cAICollections",
"relationName": "cAICollectionCDokumente",
"audited": false,
"isCustom": true
}
},
"collection": {

View File

@@ -263,6 +263,20 @@
"entity": "CMietobjekt",
"audited": false,
"isCustom": true
},
"cAICollections": {
"type": "hasMany",
"entity": "CAICollections",
"foreign": "cDokumente",
"relationName": "cAICollectionCDokumente",
"additionalColumns": {
"syncId": {
"type": "varchar",
"len": 255
}
},
"audited": false,
"isCustom": true
}
},
"collection": {