salix/db/versions/.archive/10626-silverRaphis/00-firstScript.sql

5 lines
153 B
MySQL
Raw Permalink Normal View History

-- Place your SQL code here
UPDATE vn.buy b
JOIN vn.entryConfig e ON e.defaultEntry = b.entryFk
SET b.printedStickers = 0
WHERE printedStickers <> 0;