feat: 升级SQL

This commit is contained in:
Pan Qiancheng 2025-12-29 17:52:27 +08:00
parent fdf948d3ee
commit f585d154ea
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,9 @@
-- 5.10.10 upgrade: 添加extraFile表的分片上传支持
alter table extraFile
add enableChunkedUpload tinyint(1) null after applicationId;
alter table extraFile
add chunkInfo json null after enableChunkedUpload;
update extraFile set enableChunkedUpload = 0 where enableChunkedUpload is null;

View File

@ -0,0 +1,4 @@
-- 这个修改是5.10.7版本的暂未实际应用原本是enum类型现改为varchar以便扩展
alter table notification
modify channel varchar(32) not null;