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