Files
EmailBill/Database/Migrations/001_AddIconKeywordsToTransactionCategory.sql
SunCheng 9921cd5fdf chore: migrate remaining ECharts components to Chart.js
- Migrated 4 components from ECharts to Chart.js:
  * MonthlyExpenseCard.vue (折线图)
  * DailyTrendChart.vue (双系列折线图)
  * ExpenseCategoryCard.vue (环形图)
  * BudgetChartAnalysis.vue (仪表盘 + 多种图表)

- Removed all ECharts imports and environment variable switches
- Unified all charts to use BaseChart.vue component
- Build verified: pnpm build success ✓
- No echarts imports remaining ✓

Refs: openspec/changes/migrate-remaining-echarts-to-chartjs
2026-02-16 21:55:38 +08:00

13 lines
513 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
-- 数据库迁移为TransactionCategory表添加IconKeywords字段
-- 修改Icon字段长度限制
-- 步骤1修改Icon字段长度限制如果字段已存在且长度为-1
-- SQLite不支持直接修改字段长度需要重建表或使用其他方法
-- 由于这是SQLite我们假设Icon字段已存在只需添加IconKeywords字段
-- 步骤2添加IconKeywords字段
ALTER TABLE TransactionCategory ADD COLUMN IconKeywords TEXT;
-- 验证
-- PRAGMA table_info(TransactionCategory);