From 9bc86b16171296dc992d5bc21cd0be9bf5c74446 Mon Sep 17 00:00:00 2001 From: joan Date: Fri, 10 Mar 2023 13:29:11 +0100 Subject: [PATCH] Added missing relation --- modules/client/back/models/client.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/client/back/models/client.json b/modules/client/back/models/client.json index c66072f4d..21db28eaf 100644 --- a/modules/client/back/models/client.json +++ b/modules/client/back/models/client.json @@ -154,6 +154,11 @@ "model": "Account", "foreignKey": "id" }, + "user": { + "type": "belongsTo", + "model": "Account", + "foreignKey": "id" + }, "payMethod": { "type": "belongsTo", "model": "PayMethod",