diff --git a/config/app.php b/config/app.php index 2944f0c..bc0f228 100644 --- a/config/app.php +++ b/config/app.php @@ -6,7 +6,7 @@ return [ // 应用名称 'app_name' => 'pearProject', // 应用版本 - 'app_version' => '2.5.3', + 'app_version' => '2.5.4', // 应用地址 'app_host' => '', // 应用调试模式 diff --git a/data/2.5.0/2.4.0-2.5.0.sql b/data/2.5.0/2.4.0-2.5.0.sql index 52ffee2..e4e0e23 100644 --- a/data/2.5.0/2.4.0-2.5.0.sql +++ b/data/2.5.0/2.4.0-2.5.0.sql @@ -4,4 +4,6 @@ ALTER TABLE `pearproject`.`pear_member` ADD COLUMN `dingtalk_openid` varchar(50) ALTER TABLE `pearproject`.`pear_member` ADD COLUMN `dingtalk_unionid` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '钉钉unionid' AFTER `dingtalk_openid`; +ALTER TABLE `pearproject`.`pear_member` ADD COLUMN `dingtalk_userid` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '钉钉用户id' AFTER `dingtalk_unionid`; + SET FOREIGN_KEY_CHECKS=1;