Skip to content

Commit

Permalink
Fix test failure [yogthos#234] (yogthos#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
S4G4R authored Jan 3, 2023
1 parent 4d044c4 commit 4e665b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/migratus/database.clj
Original file line number Diff line number Diff line change
@@ -165,7 +165,7 @@
(defn completed-ids* [db table-name]
(let [t-con (connection-or-spec db)]
(->> (sql/query t-con
[(str "select id from " table-name " where id != " reserved-id)]
[(str "select id, applied from " table-name " where id != " reserved-id)]
{:builder-fn rs/as-unqualified-lower-maps})
(sort-by :applied #(.compareTo %2 %1))
(map :id)

0 comments on commit 4e665b1

Please sign in to comment.