SET FOREIGN_KEY_CHECKS=0;

ALTER TABLE `client` DROP INDEX `client_Name_Index`;

ALTER TABLE `client` ADD COLUMN `CreatorId` int NULL DEFAULT NULL COMMENT '创建人ID' AFTER `OptDate`;

ALTER TABLE `client` ADD COLUMN `CreatorName` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称' AFTER `CreatorId`;

ALTER TABLE `client` ADD COLUMN `CreateDate` datetime NULL DEFAULT NULL COMMENT '创建时间' AFTER `CreatorName`;

ALTER TABLE `client` ADD INDEX `client_Name_Index`(`Name` ASC) USING BTREE;

DROP TABLE IF EXISTS `buyerconfig`;

SET FOREIGN_KEY_CHECKS=1;