You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
SOP/升级到4.4.0注意事项.md

19 lines
697 B

从之前版本升级到4.4.0必须看,如果直接从4.4.0开始使用,不用看。
- 首先执行升级脚本
```sql
use sop;
CREATE TABLE `system_lock` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`content` varchar(64) NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
UNIQUE KEY `uk_content` (`content`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
INSERT INTO `system_lock` (`id`, `content`) VALUES (1,'lock');
```
类`com.gitee.sop.servercommon.configuration.GlobalExceptionHandler`已被废弃,替代方案改用自己的全局异常处理
参考:`com.gitee.sop.storyweb.StoryGlobalExceptionHandler`。这样改的目的是对于老项目的全局异常无入侵。