u
This commit is contained in:
@@ -38,8 +38,8 @@ WHERE sku = @sku
|
||||
`;
|
||||
|
||||
export const INSERT_ARTICLE_HISTORY = `
|
||||
INSERT INTO articlehistory (article_id, companyuser_id, text)
|
||||
VALUES (@articleId, @companyuserId, @text);
|
||||
INSERT INTO articlehistory (article_id, companyuser_id, date, text, meta)
|
||||
VALUES (@articleId, @companyuserId, COALESCE(@date, strftime('%Y-%m-%dT%H:%M:%fZ', 'now')), @text, @meta);
|
||||
`;
|
||||
|
||||
export const GET_LATEST_ROW = `
|
||||
|
||||
Reference in New Issue
Block a user