Update README and SQL files to include 'fullHash', 'fullW', 'fullH', and 'fullSize' for articles and photos

This commit is contained in:
seb
2026-08-01 04:33:00 +02:00
parent 3b0d3266a5
commit ee895fab5f
3 changed files with 6 additions and 2 deletions

View File

@@ -46,6 +46,7 @@ export const ARTICLE_LIST_COLUMNS = `
) AS childCount,
a.fatherarticle_id AS fatherArticleId,
father.sku AS fatherSku,
pic.hash AS fullHash,
pic.thumbw AS thumbW,
pic.thumbh AS thumbH,
pic.thumbhash AS thumbHash

View File

@@ -65,6 +65,9 @@ export const GET_PHOTOS_BY_ARTICLE_ID = `
SELECT
ap.sort,
p.hash AS fullHash,
p.w AS fullW,
p.h AS fullH,
p.size AS fullSize,
p.thumbw AS thumbW,
p.thumbh AS thumbH,
p.thumbhash AS thumbHash