ISKonst commented on PR #5882:
URL: https://github.com/apache/shenyu/pull/5882#issuecomment-2576512122
The field handleType extended by plugin-jwt needs to be added to the
database table.
Upgrade database initialization script and upgrade script.
Create upgrade script for 2.7.0 to 2.7.1 in db/upgrade directory
- Added a new SQL script named `2.7.0-upgrade-2.7.1-*.sql` to the
`db/upgrade` directory.
- This script contains the necessary SQL statements to upgrade the database
from version 2.7.0 to 2.7.1.
SKonst
***@***.***
------------------ 原始邮件 ------------------
发件人:
"apache/shenyu"
***@***.***>;
发送时间: 2025年1月6日(星期一) 下午2:38
***@***.***>;
***@***.******@***.***>;
主题: Re: [apache/shenyu] [type:refactor] plugin-jwt SPI extension for
parsing JWT payloads to ensure compatibility with older versions of JWT tools
(PR #5882)
I know how to add new table fields in the initialization script (db/init).
How can I add new table fields in the upgrade script (db/upgrade)? SKonst @.***
…
------------------ 原始邮件 ------------------ 发件人: "apache/shenyu"
@.>; 发送时间: 2025年1月6日(星期一) 下午2:11 @.>; @.@.>; 主题: Re:
[apache/shenyu] [type:refactor] plugin-jwt SPI extension for parsing JWT
payloads to ensure compatibility with older versions of JWT tools (PR #5882)
The field handleType extended by plugin-jwt needs to be added to the database
table. hi, just modify the sql, add alter sql — Reply to this email directly,
view it on GitHub, or unsubscribe. You are receiving this because you authored
the thread.Message ID: @.***>
example:
ALTER TABLE dashboard_user ADD COLUMN client_id varchar(32) NULL DEFAULT
NULL COMMENT 'client id';
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]