From 3afb42aebb1d7a30471e9d90ce01e7590736e5b8 Mon Sep 17 00:00:00 2001 From: Yash Mehrotra Date: Sat, 16 Mar 2024 08:33:23 +0530 Subject: [PATCH] chore: add category field in playbook model (#615) --- models/playbooks.go | 1 + 1 file changed, 1 insertion(+) diff --git a/models/playbooks.go b/models/playbooks.go index 1d49fa80..49601e6a 100644 --- a/models/playbooks.go +++ b/models/playbooks.go @@ -54,6 +54,7 @@ type Playbook struct { Description string `json:"description,omitempty"` Spec types.JSON `json:"spec"` Source string `json:"source"` + Category string `json:"category"` CreatedBy *uuid.UUID `json:"created_by,omitempty"` CreatedAt time.Time `json:"created_at,omitempty" time_format:"postgres_timestamp" gorm:"<-:false"` UpdatedAt time.Time `json:"updated_at,omitempty" time_format:"postgres_timestamp" gorm:"<-:false"`