salix/db/versions/.archive/10549-goldenHydrangea/00-updateUpdateLog.sql

37 lines
1.4 KiB
MySQL
Raw Normal View History

-- Place your SQL code here
UPDATE vn.claimLog
SET oldInstance = util.json_removeNulls(oldInstance)
WHERE `action` = 'update';
UPDATE vn.itemLog
SET oldInstance = util.json_removeNulls(oldInstance)
WHERE `action` = 'update';
UPDATE vn.entryLog
SET oldInstance = util.json_removeNulls(oldInstance)
WHERE `action` = 'update';
UPDATE vn.supplierLog
SET oldInstance = util.json_removeNulls(oldInstance)
WHERE `action` = 'update';
UPDATE vn.zoneLog
SET oldInstance = util.json_removeNulls(oldInstance)
WHERE `action` = 'update';
UPDATE vn.travelLog
SET oldInstance = util.json_removeNulls(oldInstance)
WHERE `action` = 'update';
UPDATE vn.routeLog
SET oldInstance = util.json_removeNulls(oldInstance)
WHERE `action` = 'update';
UPDATE vn.clientLog
SET oldInstance = util.json_removeNulls(oldInstance)
WHERE `action` = 'update';
UPDATE vn.shelvingLog
SET oldInstance = util.json_removeNulls(oldInstance)
WHERE `action` = 'update';
UPDATE vn.ticketLog
SET oldInstance = util.json_removeNulls(oldInstance)
WHERE `action` = 'update';
UPDATE vn.deviceProductionLog
SET oldInstance = util.json_removeNulls(oldInstance)
WHERE `action` = 'update';
UPDATE vn.workerLog
SET oldInstance = util.json_removeNulls(oldInstance)
WHERE `action` = 'update';