upgrade: v5.11.0,升级SQL

This commit is contained in:
lxy 2025-11-18 10:36:12 +08:00
parent 818504690b
commit e89661326e
2 changed files with 11 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{
"name": "oak-general-business",
"version": "5.10.4",
"version": "5.11.0",
"description": "oak框架中公共业务逻辑的实现",
"author": {
"name": "XuChang"

10
upgrade/5.11.0/01.sql Normal file
View File

@ -0,0 +1,10 @@
SET SESSION sql_mode = 'TRADITIONAL';
START TRANSACTION;
-- applicationPassport
ALTER TABLE `applicationPassport` ADD column `allowPwd` tinyint(1) DEFAULT NULL;
-- passport
ALTER TABLE `passport` MODIFY column `type` ENUM('password', 'sms', 'email', 'wechatWeb', 'wechatMp', 'wechatPublic', 'wechatPublicForWeb', 'wechatMpForWeb', 'wechatNative', 'loginName', 'oauth') NOT NULL;
COMMIT;