mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-10-04 21:32:39 +08:00
Revert "poc: Using a custom type for labels backed by JSONB"
This reverts commit 023713da32
.
This commit is contained in:
@@ -745,16 +745,6 @@ func (c *Client) CountWorkflowExecutions(namespace, workflowTemplateUID, workflo
|
||||
RunWith(c.DB).
|
||||
QueryRow().
|
||||
Scan(&count)
|
||||
//
|
||||
//test := types.Labels{}
|
||||
//test["test"] = "how"
|
||||
//test["language"] = "golang"
|
||||
//
|
||||
//_, err = sb.Update("workflow_executions").
|
||||
// SetMap(sq.Eq{
|
||||
// "labels": test,
|
||||
// }).Where("id = 738").RunWith(c.DB).
|
||||
// Exec()
|
||||
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user