lovart3/迁移说明.txt
Your Name e9ceedb3bf feat: 添加图片变清晰功能
- 创建 /api/enhance 路由,实现图片变清晰API集成
- 在图片标注组件中添加变清晰按钮(Sparkles图标)
- 在相册页面添加变清晰按钮
- 系统设置:将抠图设置改名为本地AI设置,添加变清晰API配置
- 支持同步和异步两种模式
- 自动上传到S3存储桶并保存到数据库
- 在相册和出图记录中显示处理后的图片
2025-12-29 00:33:12 +08:00

31 lines
1.2 KiB
Plaintext
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.

数据库迁移状态总结
==================
✅ 已成功迁移的表(8个,共约23,721条记录):
1. AiModel: 9条
2. AiProvider: 7条
3. AuthSettings: 1条
4. Chat: 6,010条
5. Document: 42条
6. GeneratedImage: 17,627条
7. LoginToken: 29条
8. User: 1条
❌ 缺失数据的表(11个,需要迁移):
1. Message: 0条 ⚠️ 重要 - 聊天消息数据
2. Message_v2: 0条 ⚠️ 重要 - 新版本消息数据
3. NavLinks: 0条 - 导航链接
4. SiteSettings: 0条 ⚠️ 重要 - 网站设置
5. StorageConfig: 0条 - 存储配置
6. Stream: 0条 - 流式数据
7. Suggestion: 0条 - 建议数据
8. SystemSettings: 0条 ⚠️ 重要 - 系统设置
9. ToolConfig: 0条 - 工具配置
10. Vote: 0条 - 投票数据
11. Vote_v2: 0条 - 新版本投票数据
迁移步骤:
1. 上传备份文件到新服务器: scp migration-backup-complete/database_complete.dump root@70.39.205.74:/tmp/
2. 上传迁移脚本: scp migrate-missing-tables-remote.sh root@70.39.205.74:/root/
3. 在新服务器上执行: ssh root@70.39.205.74 "chmod +x /root/migrate-missing-tables-remote.sh && /root/migrate-missing-tables-remote.sh"