fix:补回server.websocket配置

This commit is contained in:
hrz 2025-04-26 09:09:55 +08:00
parent 7d585615a9
commit a774679bff
2 changed files with 10 additions and 2 deletions

View file

@ -1,7 +1,15 @@
-- 增加server.ota,用于配置ota地址 -- 增加server.ota,用于配置ota地址
delete from `sys_params` where id = 100;
delete from `sys_params` where id = 101;
delete from `sys_params` where id = 106;
INSERT INTO `sys_params` (id, param_code, param_value, value_type, param_type, remark) VALUES (106, 'server.websocket', 'null', 'string', 1, 'websocket地址,多个用;分隔');
delete from `sys_params` where id = 107; delete from `sys_params` where id = 107;
INSERT INTO `sys_params` (id, param_code, param_value, value_type, param_type, remark) VALUES (107, 'server.ota', 'null', 'string', 1, 'ota地址'); INSERT INTO `sys_params` (id, param_code, param_value, value_type, param_type, remark) VALUES (107, 'server.ota', 'null', 'string', 1, 'ota地址');
-- 增加固件信息表 -- 增加固件信息表
CREATE TABLE IF NOT EXISTS `ai_ota` ( CREATE TABLE IF NOT EXISTS `ai_ota` (
`id` varchar(32) NOT NULL COMMENT 'ID', `id` varchar(32) NOT NULL COMMENT 'ID',

View file

@ -73,9 +73,9 @@ databaseChangeLog:
encoding: utf8 encoding: utf8
path: classpath:db/changelog/202504221555.sql path: classpath:db/changelog/202504221555.sql
- changeSet: - changeSet:
id: 202504251421 id: 202504251422
author: jiangkunyin author: jiangkunyin
changes: changes:
- sqlFile: - sqlFile:
encoding: utf8 encoding: utf8
path: classpath:db/changelog/202504251421.sql path: classpath:db/changelog/202504251422.sql