petkostas commented on code in PR #8534:
URL: 
https://github.com/apache/incubator-devlake/pull/8534#discussion_r2274133097


##########
backend/core/models/pipeline.go:
##########
@@ -75,6 +76,7 @@ type NewPipeline struct {
        Name        string       `json:"name"`
        Plan        PipelinePlan `json:"plan" swaggertype:"array,string" 
example:"please check api /pipelines/<PLUGIN_NAME>/pipeline-plan"`
        Labels      []string     `json:"labels"`
+       Priority    int          `json:"priority"` // greater is higher

Review Comment:
   question(non-blocking) does it make sense to index this? since we use it in 
the `Orderby` clause.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to