work/data/2.5.0/2.4.0-2.5.0.sql
vilson 845699b39f 更新数据库文件
Signed-off-by: vilson <545522390@qq.com>
2019-06-24 21:35:21 +08:00

10 lines
620 B
SQL

SET FOREIGN_KEY_CHECKS=0;
ALTER TABLE `pearproject`.`pear_member` ADD COLUMN `dingtalk_openid` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '钉钉openid' AFTER `code`;
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(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '钉钉用户id' AFTER `dingtalk_unionid`;
SET FOREIGN_KEY_CHECKS=1;