koishi-plugin-ggcevo 1.0.5 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.ts CHANGED
@@ -75,7 +75,7 @@ export interface GgcEvoBanRecord {
75
75
  handle: string;
76
76
  /** C列: 封禁等级 */
77
77
  ban_level: string;
78
- /** D列: 处罚原因 */
78
+ /** D列: 处罚原因 (text 类型, 支持长文本) */
79
79
  reason: string;
80
80
  /** E列: 处罚次数 */
81
81
  count: string;
package/lib/index.js CHANGED
@@ -204,7 +204,7 @@ function apply(ctx, config) {
204
204
  id: "unsigned",
205
205
  handle: "string",
206
206
  ban_level: "string",
207
- reason: "string",
207
+ reason: "text",
208
208
  count: "string",
209
209
  auditor: "string",
210
210
  audit_time: "string",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-ggcevo",
3
3
  "description": "GGCEVO 综合插件:星际争霸2游戏句柄绑定 + 签到/抽奖/兑换/背包/活动系统等虚拟物品玩法",
4
- "version": "1.0.5",
4
+ "version": "1.0.6",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [
package/readme.md CHANGED
@@ -126,6 +126,13 @@ npm install koishi-plugin-ggcevo
126
126
 
127
127
  ## 更新日志
128
128
 
129
+ ### v1.0.6
130
+
131
+ 修复封禁记录同步时长文本写入失败的问题。
132
+
133
+ - **修复**:`ggcevo_ban_record` 表 `reason`(处罚原因)字段类型由 `string`(VARCHAR(255))改为 `text`(TEXT,最大 65535 字符),避免处罚原因过长时触发 `ER_DATA_TOO_LONG` 错误
134
+ - 类型变更由 minato 自动执行 `ALTER TABLE`,已有数据不受影响,直接重启即可生效
135
+
129
136
  ### v1.0.5
130
137
 
131
138
  新增**腾讯文档封禁记录查询**功能,基于腾讯文档开放平台 V3 在线表格接口实现。