ALTER TABLE edi.ekt DROP INDEX ekt_batchNumber; ALTER TABLE edi.ekt MODIFY COLUMN k3 tinyint(3) unsigned DEFAULT NULL NULL, MODIFY COLUMN k4 tinyint(3) unsigned DEFAULT NULL NULL; ALTER TABLE edi.mail DROP COLUMN source; ALTER TABLE edi.ekt DROP COLUMN vendorOrderNumber; DELETE FROM edi.param WHERE code = 'vendorOrderNumber';