From cc6ba8712c2fa5bb40151e7fafdc5b3f845f553e Mon Sep 17 00:00:00 2001 From: vicent Date: Tue, 13 Sep 2022 12:15:28 +0200 Subject: [PATCH] feat: log when a day is excluded --- modules/zone/back/models/zone-exclusion.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/zone/back/models/zone-exclusion.json b/modules/zone/back/models/zone-exclusion.json index 415bce40c..e8088cd44 100644 --- a/modules/zone/back/models/zone-exclusion.json +++ b/modules/zone/back/models/zone-exclusion.json @@ -1,6 +1,10 @@ { "name": "ZoneExclusion", - "base": "VnModel", + "base": "Loggable", + "log": { + "model":"ZoneLog", + "relation": "zone" + }, "options": { "mysql": { "table": "zoneExclusion"