系统参数里的天气凭据也顺手置空

那两行后来已经被删掉了,新装的库里没有。这里再置一次空只是兜底,正常不影响任何一行。
This commit is contained in:
hrz 2026-10-24 01:14:18 +00:00
parent 36e34994ba
commit cdb4c34c4c
2 changed files with 13 additions and 0 deletions

View file

@ -0,0 +1,6 @@
-- 兜底:早期版本把天气插件的凭据放在系统参数里,那两条记录后来被 202505292203.sql
-- 删掉了,新装的库里本来就没有这两行。这里再置一次空,防止有环境绕过了那步删除。
-- 正常情况下影响零行
UPDATE `sys_params`
SET `param_value` = ''
WHERE `param_code` IN ('plugins.get_weather.api_key', 'plugins.get_weather.api_host');

View file

@ -760,3 +760,10 @@ databaseChangeLog:
- sqlFile:
encoding: utf8
path: classpath:db/changelog/202610241030.sql
- changeSet:
id: 202610241130
author: hrz
changes:
- sqlFile:
encoding: utf8
path: classpath:db/changelog/202610241130.sql