bench
This commit is contained in:
@@ -76,7 +76,8 @@ WHERE ean = @ean
|
||||
/** Link an article to its father article and mark the father. */
|
||||
export const UPDATE_FATHER_BY_SKU = `
|
||||
UPDATE article
|
||||
SET fatherarticle_id = @fatherArticleId
|
||||
SET fatherarticle_id = @fatherArticleId,
|
||||
fathersort = COALESCE(@fathersort, 0)
|
||||
WHERE sku = @sku
|
||||
`;
|
||||
|
||||
|
||||
@@ -53,6 +53,6 @@ WHERE id = @googleAuthId
|
||||
|
||||
export const SET_PROFILE = `
|
||||
UPDATE google_auth
|
||||
SET picture = @picture, picturebinary = @pictureBinary, sub = @sub
|
||||
SET picture = @picture, picturebinary = CONVERT(VARBINARY(MAX), @pictureBinary), sub = @sub
|
||||
WHERE id = @googleAuthId
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user