From 0efb8528399cdabf0a74b89367d3e07ce964d137 Mon Sep 17 00:00:00 2001 From: mr Date: Mon, 7 Oct 2024 09:08:53 +0200 Subject: [PATCH] debug model collection add history --- models/models.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/models/models.go b/models/models.go index becf109..0fef86d 100644 --- a/models/models.go +++ b/models/models.go @@ -36,6 +36,8 @@ var models = map[string]func() utils.DBObject{ tools.COLLABORATIVE_AREA.String(): func() utils.DBObject { return &collaborative_area.CollaborativeArea{} }, tools.RULE.String(): func() utils.DBObject { return &rule.Rule{} }, tools.BOOKING.String(): func() utils.DBObject { return &booking.Booking{} }, + tools.WORKFLOW_HISTORY.String(): func() utils.DBObject { return &w2.WorkflowHistory{} }, + tools.WORKSPACE_HISTORY.String(): func() utils.DBObject { return &w3.WorkspaceHistory{} }, } // Model returns the model object based on the model type