Fix detection of sequence modification time

This commit is contained in:
D. Berge
2022-03-09 21:25:04 +01:00
parent bef2be10d2
commit 2ec484da41

View File

@@ -24,6 +24,8 @@ async function sequenceLastModified (projectId, sequence) {
FROM (
SELECT sequence, string_to_array(hash, ':') AS hash
FROM raw_shots
UNION SELECT sequence, string_to_array(hash, ':') AS hash
FROM final_shots
) AS h
GROUP BY sequence
HAVING sequence = $1;