salix/db/versions/.archive/10620-azurePalmetto/00-firstScript.sql

11 lines
265 B
MySQL
Raw Normal View History

-- Place your SQL code here
SET @isTriggerDisabled = TRUE;
UPDATE vn.buy
SET printedStickers = 0
WHERE printedStickers < 0;
ALTER TABLE vn.buy MODIFY COLUMN IF EXISTS
printedStickers int(10) unsigned DEFAULT 0 NOT NULL;
SET @isTriggerDisabled = FALSE;