UPDATE `sys_product` SET `line` = '' WHERE `line` = 'default'; UPDATE `sys_file` SET `objectType` = 'avatar' WHERE `objectType` = 'files'; ALTER TABLE `crm_contract` CHANGE `address` `address` mediumint(8) unsigned NOT NULL; ALTER TABLE `cash_trade` ADD `exchangeRate` decimal(12,4) NOT NULL DEFAULT 1 AFTER `money`;