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

5 lines
153 B
SQL

-- 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;