diff --git a/db/builder_db.ml b/db/builder_db.ml index 26244e2..18f6d29 100644 --- a/db/builder_db.ml +++ b/db/builder_db.ml @@ -412,7 +412,7 @@ module Build = struct let get_platforms_for_job = id `job ->* Caqti_type.string @@ - "SELECT DISTINCT platform FROM build WHERE job = ?" + "SELECT DISTINCT platform FROM build WHERE job = ? ORDER BY platform" let add = t ->. Caqti_type.unit @@