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 e4e0e23..e87ec0e 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,6 +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`; +ALTER TABLE `pearproject`.`pear_member` ADD COLUMN `dingtalk_userid` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '钉钉用户id' AFTER `dingtalk_unionid`; SET FOREIGN_KEY_CHECKS=1; diff --git a/data/2.5.0/pearproject.sql b/data/2.5.0/pearproject.sql index 0dc20e9..f5a4ab8 100644 --- a/data/2.5.0/pearproject.sql +++ b/data/2.5.0/pearproject.sql @@ -239,6 +239,7 @@ CREATE TABLE `pear_member` ( `code` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '编号', `dingtalk_openid` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '钉钉openid', `dingtalk_unionid` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '钉钉unionid', + `dingtalk_userid` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '钉钉用户id', PRIMARY KEY (`id`) USING BTREE, INDEX `username`(`account`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 589 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '用户表' ROW_FORMAT = Compact; diff --git a/data/pearproject.sql b/data/pearproject.sql index 0dc20e9..f5a4ab8 100644 --- a/data/pearproject.sql +++ b/data/pearproject.sql @@ -239,6 +239,7 @@ CREATE TABLE `pear_member` ( `code` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '编号', `dingtalk_openid` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '钉钉openid', `dingtalk_unionid` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '钉钉unionid', + `dingtalk_userid` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '钉钉用户id', PRIMARY KEY (`id`) USING BTREE, INDEX `username`(`account`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 589 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '用户表' ROW_FORMAT = Compact;