alter table pay_renew add current_out_trade_no varchar(64) null comment '当前支付订单号'; alter table pay_renew add order_type int(2) null comment '订单类型 0原始订单 1续费订单'; alter table pay_renew add pay_method int(2) null comment '支付方式 1支付宝 2微信 3苹果'; alter table pay_renew add package_name varchar(255) null comment '包名'; create index idx_current_out_trade_no on pay_renew (current_out_trade_no); create index idx_query on pay_renew (package_name, create_time, order_type, pay_method); alter table promotion_grant_source add scope varchar(255) null after account_id; ALTER TABLE `conf_condition` ADD COLUMN `yml_content` LONGTEXT DEFAULT NULL, ADD COLUMN `content_type` INT(11) DEFAULT NULL COMMENT '0:json 1:yaml', ADD COLUMN `md5` VARCHAR(32) DEFAULT NULL COMMENT 'md5'; alter table conf_condition modify content json null; create table central.his_conf_condition ( id int auto_increment primary key, project_code varchar(255) not null, conf_code varchar(255) not null, content json not null, create_time datetime not null, update_time datetime not null, yml_content longtext null, content_type int null comment '0:json 1:yaml', source_id int null comment 'conf_condition的id', md5 varchar(32) null comment 'md5' ); alter table his_conf_condition modify content json null;