配置迁移到数据库表里
This commit is contained in:
12
src/main/sql/lb_third_integration_config_alter_plaintext.sql
Normal file
12
src/main/sql/lb_third_integration_config_alter_plaintext.sql
Normal file
@@ -0,0 +1,12 @@
|
||||
-- =============================================================================
|
||||
-- 升级脚本:lb_third_integration_config 凭证列由密文 VARBINARY 改为明文 VARCHAR
|
||||
-- 注意:原加密数据无法自动还原,执行后需重新录入凭证
|
||||
-- =============================================================================
|
||||
|
||||
SET NAMES utf8mb4;
|
||||
|
||||
ALTER TABLE `lb_third_integration_config`
|
||||
CHANGE COLUMN `cookie_cipher` `cookie` VARCHAR(1024) DEFAULT NULL COMMENT '完整 Cookie 明文(优先使用)',
|
||||
CHANGE COLUMN `phpsid_cipher` `phpsid` VARCHAR(512) DEFAULT NULL COMMENT 'PHPSID 值明文',
|
||||
CHANGE COLUMN `goods_api_token_cipher` `goods_api_token` VARCHAR(512) DEFAULT NULL COMMENT '货品/抢购 token 明文',
|
||||
CHANGE COLUMN `goods_api_app_str_cipher` `goods_api_app_str` VARCHAR(512) DEFAULT NULL COMMENT '签名密钥 appStr 明文';
|
||||
Reference in New Issue
Block a user