salix/db/versions/.archive/10549-goldenHydrangea/02-updateDeleteLog.sql

37 lines
1.0 KiB
SQL

-- Place your SQL code here
UPDATE vn.claimLog
SET newInstance = NULL
WHERE `action` = 'delete';
UPDATE vn.itemLog
SET newInstance = NULL
WHERE `action` = 'delete';
UPDATE vn.entryLog
SET newInstance = NULL
WHERE `action` = 'delete';
UPDATE vn.supplierLog
SET newInstance = NULL
WHERE `action` = 'delete';
UPDATE vn.zoneLog
SET newInstance = NULL
WHERE `action` = 'delete';
UPDATE vn.travelLog
SET newInstance = NULL
WHERE `action` = 'delete';
UPDATE vn.routeLog
SET newInstance = NULL
WHERE `action` = 'delete';
UPDATE vn.clientLog
SET newInstance = NULL
WHERE `action` = 'delete';
UPDATE vn.shelvingLog
SET newInstance = NULL
WHERE `action` = 'delete';
UPDATE vn.ticketLog
SET newInstance = NULL
WHERE `action` = 'delete';
UPDATE vn.deviceProductionLog
SET newInstance = NULL
WHERE `action` = 'delete';
UPDATE vn.workerLog
SET newInstance = NULL
WHERE `action` = 'delete';