Compare commits
2 Commits
53593947dd
...
b4877d16da
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b4877d16da | ||
|
|
b61bc1ad3b |
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.248.5",
|
"version": "1.248.6",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.248.5",
|
"version": "1.248.6",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@aws-sdk/client-s3": "^3.458.0",
|
"@aws-sdk/client-s3": "^3.458.0",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.248.5",
|
"version": "1.248.6",
|
||||||
"description": "All the latest porn releases in one place",
|
"description": "All the latest porn releases in one place",
|
||||||
"main": "src/app.js",
|
"main": "src/app.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -436,13 +436,13 @@ 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),
|
shoot_id = COALESCE(new.shoot_id, 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,
|
||||||
updated_at = NOW()
|
updated_at = NOW()
|
||||||
FROM json_to_recordset(:scenes)
|
FROM json_to_recordset(:scenes)
|
||||||
AS new(id int, url text, date timestamptz, entity json, title text, description text, duration integer, comment text, deep boolean)
|
AS new(id int, url text, date timestamptz, entity json, title text, description text, shoot_id text, duration integer, comment text, deep boolean)
|
||||||
WHERE releases.id = new.id
|
WHERE releases.id = new.id
|
||||||
`, {
|
`, {
|
||||||
scenes: JSON.stringify(curatedDuplicateReleases),
|
scenes: JSON.stringify(curatedDuplicateReleases),
|
||||||
|
|||||||
Reference in New Issue
Block a user