From 60128fb729a3562454f4945fb9668550f6ca3c9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paulo=20Sima=CC=83o?= Date: Thu, 3 Mar 2022 03:24:27 -0300 Subject: [PATCH] add jobalias to cron --- types/lib.go | 1 + 1 file changed, 1 insertion(+) diff --git a/types/lib.go b/types/lib.go index 99c7815..6a4e7d6 100644 --- a/types/lib.go +++ b/types/lib.go @@ -312,6 +312,7 @@ type Cron struct { Model Cron string `json:"cron"` JobCode uint `json:"job"` + JobAlias string `json:"jobalias" gorm:"-"` Enabled *bool `json:"enabled"` Data string `json:"data"` Comments string `json:"comments"`