forked from DebaucheryLibrarian/traxxx
Added shoot ID to scene update query.
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user