diff --git a/store/datastore/sql/postgres/sql_gen.go b/store/datastore/sql/postgres/sql_gen.go index e14760336..4528f38b4 100644 --- a/store/datastore/sql/postgres/sql_gen.go +++ b/store/datastore/sql/postgres/sql_gen.go @@ -164,7 +164,7 @@ SELECT ,proc_environ FROM procs WHERE proc_build_id = $1 -ORDER BY proc_pid ASC +ORDER BY proc_id ASC ` var procsFindBuildPid = ` diff --git a/store/datastore/sql/sqlite/sql_gen.go b/store/datastore/sql/sqlite/sql_gen.go index 1a06db44e..6fe62934b 100644 --- a/store/datastore/sql/sqlite/sql_gen.go +++ b/store/datastore/sql/sqlite/sql_gen.go @@ -164,6 +164,7 @@ SELECT ,proc_environ FROM procs WHERE proc_build_id = ? +ORDER BY proc_id ASC ` var procsFindBuildPid = `