We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 181237e commit 1343a7cCopy full SHA for 1343a7c
src/Share/Web/UCM/SyncV2/Queries.hs
@@ -214,7 +214,7 @@ spineAndLibDependenciesOfCausalCursor cid = do
214
SELECT ch.causal_id, ROW_NUMBER() OVER () FROM causal_history(#{cid}) AS ch
215
WHERE EXISTS (SELECT FROM causal_ownership co WHERE co.user_id = #{ownerUserId} AND co.causal_id = #{cid})
216
), lib_deps(causal_id, ord) AS (
217
- SELECT DISTINCT ON (lib_dep.child_causal_id), cs.ord
+ SELECT DISTINCT ON (lib_dep.child_causal_id) lib_dep.child_causal_id, cs.ord
218
FROM causal_spine cs
219
-- Spinal causal
220
-- Root where all library roots are attached
0 commit comments