• Sean McGivern's avatar
    Return a relation with Postgres · e8058bd2
    Sean McGivern authored
    Postgres only needs to select a single column, so that can used as a
    sub-query where `Milestone.upcoming_ids_by_projects` is actually used in
    `IssuableFinder`.
    
    MySQL needs to select the `due_date` column because it's used in the
    `HAVING` clause, so it has to return an array of IDs.
    e8058bd2
milestone.rb 3.91 KB