fix: 修复分类管理缺少description字段问题
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Agent
2026-04-04 07:19:55 +00:00
parent 1427538598
commit 3dd3e106dc
2 changed files with 7 additions and 0 deletions

View File

@@ -36,6 +36,11 @@ public class Category {
*/
private String icon;
/**
* 描述
*/
private String description;
/**
* 状态: 1启用 0禁用
*/

View File

@@ -0,0 +1,2 @@
-- 添加分类描述字段
ALTER TABLE categories ADD COLUMN IF NOT EXISTS description TEXT;