Added shoot ID to scene update query.
This commit is contained in:
parent
c083c4e6d4
commit
6b40a0da5e
|
|
@ -436,6 +436,7 @@ async function storeScenes(releases, useBatchId) {
|
||||||
entity_id = COALESCE((new.entity->>'id')::integer, releases.entity_id),
|
entity_id = COALESCE((new.entity->>'id')::integer, releases.entity_id),
|
||||||
title = COALESCE(new.title, releases.title),
|
title = COALESCE(new.title, releases.title),
|
||||||
description = COALESCE(new.description, releases.description),
|
description = COALESCE(new.description, releases.description),
|
||||||
|
shoot_id = COALESCE(new.shootId, releases.shoot_id),
|
||||||
duration = COALESCE(new.duration, releases.duration),
|
duration = COALESCE(new.duration, releases.duration),
|
||||||
comment = COALESCE(new.comment, releases.comment),
|
comment = COALESCE(new.comment, releases.comment),
|
||||||
deep = new.url IS NOT NULL,
|
deep = new.url IS NOT NULL,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue