mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-11-02 18:44:02 +08:00
Added logic to get a secret and worked on adding createdAt timestamps to models.
This commit is contained in:
@@ -131,7 +131,7 @@ func (r *WorkflowRepository) UpdateWorkflowTemplateVersion(workflowTemplate *mod
|
||||
}
|
||||
|
||||
func (r *WorkflowRepository) workflowTemplatesSelectBuilder(namespace string) sq.SelectBuilder {
|
||||
sb := r.sb.Select("wt.id", "wt.uid", "wt.name", "wtv.version", "wtv.is_latest").
|
||||
sb := r.sb.Select("wt.id", "wt.created_at", "wt.uid", "wt.name", "wtv.version", "wtv.is_latest").
|
||||
From("workflow_template_versions wtv").
|
||||
Join("workflow_templates wt ON wt.id = wtv.workflow_template_id").
|
||||
Where(sq.Eq{
|
||||
|
||||
Reference in New Issue
Block a user