ALTER TABLE `person_mould`
ADD COLUMN customized int(1) NOT NULL DEFAULT 0 COMMENT '是否私人定制EnumYesOrNo' AFTER `is_del`;
ALTER TABLE `person_mould`
ADD COLUMN customized_user_id BIGINT(11)  COMMENT '私人定制所属用户' AFTER `customized`;

##更新这几个表
apimenu,apiguide,apidetail，thirdpartyapi

ALTER TABLE `voice_language`
ADD COLUMN customized int(1) NOT NULL DEFAULT 0 COMMENT '是否私人定制EnumYesOrNo' AFTER `is_del`;
ALTER TABLE `voice_language`
ADD COLUMN customized_user_id BIGINT(11)  COMMENT '私人定制所属用户' AFTER `customized`;


ALTER TABLE `user_mould_video`
ADD COLUMN cost_points int(11) NOT NULL DEFAULT 0 COMMENT '消耗金币' ;
ALTER TABLE `user_mould_video`
ADD COLUMN cost_points_detail varchar(500) COMMENT '消耗金币明细' ;


ALTER TABLE `service_info`
ADD COLUMN mall_user_info int(11) COMMENT '登录用户编号' ;


ALTER TABLE `mall_user_info`
ADD COLUMN project_type int(1) NOT NULL COMMENT '所属项目EnumProject' ;


ALTER TABLE wx_msg_validationcode
ADD COLUMN project_type int(1) NOT NULL COMMENT '所属项目EnumProject' ;

ALTER TABLE service_info
ADD COLUMN remaining_times bigint NOT NULL DEFAULT 0 COMMENT '剩余时长(秒)' ;

CREATE TABLE `service_person_mould` (
  `id` bigint NOT NULL COMMENT '主键ID',
  `person_mould_id` bigint NOT NULL COMMENT 'PersonMould编号',
  `service_id` bigint NOT NULL COMMENT 'ServiceInfo编码',
  `create_date` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_date` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '更新时间',
  `wx_third_party_api_id` bigint NOT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE KEY `id_UNIQUE` (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='接入方关联模板';

ALTER TABLE `service_video_record`
ADD COLUMN video_url varchar(300)  COMMENT '视频链接';


