Files
kt-financial-system/DEPLOYMENT_LOG.md
你的用户名 b68511b2e2
Some checks failed
Deploy to Production / Build and Test (push) Successful in 10m51s
Deploy to Production / Deploy to Server (push) Failing after 6m41s
feat: migrate backend storage to postgres
2025-11-06 22:01:50 +08:00

1.4 KiB
Raw Blame History

部署日志

2024-11-04 部署记录

Telegram通知功能部署

  • 时间: 2024-11-04 23:30
  • 版本: v1.1.0
  • 功能: Telegram Bot通知系统

已完成功能:

  1. 基础Telegram通知
  2. 频率控制和去重
  3. 失败重试机制
  4. 通知历史记录
  5. 优先级设置

配置信息:

  • Bot Token: 已配置
  • Chat ID: 1102887169
  • Bot用户名: @ktcaiwubot

测试结果:

  • Telegram消息发送成功
  • API接口已实现
  • 🚧 前端界面待完成

2025-11-06 部署记录

PostgreSQL 数据持久化与财务数据同步

  • 时间: 2025-11-06 21:30
  • 版本: main@latest
  • 内容: 后端切换 PostgreSQLCI/CD 自动导入 657 条 2025 年账目

核心变更

  1. docker-compose.yml 新增 postgres 服务并启用 postgres-data 卷持久化
  2. apps/backend/scripts/import-finance-data.js 重写为 PostgreSQL 版本,支持新旧两种 CSV 结构
  3. Gitea Workflow 部署脚本自动执行 pnpm --filter @vben/backend import:data -- --csv /app/data/finance/finance-combined.csv --year 2025

数据校验

  • sudo docker-compose exec -T postgres psql -U kt_financial -d kt_financial -c "SELECT COUNT(*) FROM finance_transactions;"657
  • 前端 /finance/transactions 页面显示最新日期为 2025-11-05,历史数据保持完整

最后更新时间: 2025-11-06 21:30