From 692edf5d13413a59c2a92d7111ea0ba9fa0ddd8a Mon Sep 17 00:00:00 2001 From: Taras Machyshyn Date: Fri, 27 Dec 2013 13:21:55 +0200 Subject: [PATCH] added meetingUser, callUser relations --- .../Espo/Resources/metadata/entityDefs/User.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/application/Espo/Resources/metadata/entityDefs/User.json b/application/Espo/Resources/metadata/entityDefs/User.json index 91c578fcce..4521abeb08 100644 --- a/application/Espo/Resources/metadata/entityDefs/User.json +++ b/application/Espo/Resources/metadata/entityDefs/User.json @@ -67,6 +67,16 @@ "preferences": { "type": "hasOne", "entity": "Preferences" + }, + "meetings": { + "type": "hasMany", + "entity": "Meeting", + "foreign": "users" + }, + "calls": { + "type": "hasMany", + "entity": "Call", + "foreign": "users" } }, "collection": {