# 10:36 2021/8/11
ALTER TABLE `slides`
	ADD INDEX `agent_id` (`agent_id`);
ALTER TABLE `specials`
	ADD INDEX `agent_id` (`agent_id`);
ALTER TABLE `suppliers`
	ADD UNIQUE INDEX `account` (`account`);
ALTER TABLE `orders`
	ADD INDEX `mobile` (`mobile`);

# 16:32 2021/8/11
ALTER TABLE `users`
	CHANGE COLUMN `unionid` `unionid` VARCHAR(64) NOT NULL COMMENT '微信unionid' COLLATE 'utf8mb4_unicode_ci' AFTER `agent_id`;

# 19:14 2021/8/11
ALTER TABLE `agents`
	ADD COLUMN `agent_name` VARCHAR(50) NOT NULL COMMENT '代理商名称' AFTER `password`;
ALTER TABLE `agents`
	ADD UNIQUE INDEX `account` (`account`);

ALTER TABLE `suppliers`
	ADD COLUMN `supplier_name` VARCHAR(50) NOT NULL COMMENT '供应商名称' AFTER `password`;

-----------------------------------











