diff --git a/sop.sql b/sop.sql index c2d28bbf..86400be8 100755 --- a/sop.sql +++ b/sop.sql @@ -473,4 +473,4 @@ INSERT INTO `sys_user_role` (`id`, `role_id`, `user_id`, `add_time`, `update_tim -- ALTER ALTER TABLE `api_info` -ADD COLUMN `api_mode` tinyint(4) NOT NULL DEFAULT '1' COMMENT '接口模式,1-open接口,2-Restful模式' AFTER `reg_source`; +ADD COLUMN `api_mode` tinyint(4) NULL DEFAULT '1' COMMENT '接口模式,1-open接口,2-Restful模式' AFTER `reg_source`; diff --git a/upgrade/sop-20250209.sql b/upgrade/sop-20250209.sql index e2fd5879..6ccbfe54 100644 --- a/upgrade/sop-20250209.sql +++ b/upgrade/sop-20250209.sql @@ -1,4 +1,4 @@ -- 2025-02-09更新 -- api_info表新增api_mode字段 ALTER TABLE `api_info` -ADD COLUMN `api_mode` tinyint(4) NOT NULL DEFAULT '1' COMMENT '接口模式,1-open接口,2-Restful模式' AFTER `reg_source`; +ADD COLUMN `api_mode` tinyint(4) NULL DEFAULT '1' COMMENT '接口模式,1-open接口,2-Restful模式' AFTER `reg_source`;