DELETE FROM `qs_Log` WHERE 1; ALTER TABLE `qs_Log` CHANGE `priority` `errorNumber` INT NULL; ALTER TABLE `qs_Log` ADD `exceptionCode` INT NULL AFTER `errorNumber`, ADD `file` VARCHAR(255) NOT NULL AFTER `message`, ADD `line` INT NOT NULL AFTER `file`, ADD `uid` VARCHAR(32) NOT NULL AFTER `line`, ADD `count` INT NOT NULL AFTER `uid`, ADD INDEX (`uid`) ;