rwadurian/backend/services/reporting-service
Developer 9898665506 feat(all-services): 添加数据库自动迁移到所有服务启动流程
在每个服务的 Dockerfile 中添加启动脚本:
- 服务启动前先执行 prisma migrate deploy
- 如果迁移失败则回退到 prisma db push
- 确保数据库表在服务启动时自动创建

修改的服务:
- identity-service
- wallet-service
- backup-service
- planting-service
- referral-service
- reward-service
- leaderboard-service
- reporting-service
- authorization-service
- admin-service
- presence-service

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 01:50:01 -08:00
..
docs feat(reporting-service): Implement complete reporting service with DDD architecture 2025-12-01 08:12:57 -08:00
prisma feat(reporting-service): Implement complete reporting service with DDD architecture 2025-12-01 08:12:57 -08:00
src feat(reporting-service): Implement complete reporting service with DDD architecture 2025-12-01 08:12:57 -08:00
test feat(reporting-service): Implement complete reporting service with DDD architecture 2025-12-01 08:12:57 -08:00
.dockerignore feat(reporting-service): Implement complete reporting service with DDD architecture 2025-12-01 08:12:57 -08:00
.env.development fix(identity-service): 更换 npm 镜像为华为云解决超时问题 2025-12-03 18:45:18 -08:00
.env.example feat(reporting-service): Implement complete reporting service with DDD architecture 2025-12-01 08:12:57 -08:00
.gitignore feat(reporting-service): Implement complete reporting service with DDD architecture 2025-12-01 08:12:57 -08:00
DEVELOPMENT_GUIDE.md . 2025-12-01 03:54:55 -08:00
Dockerfile feat(all-services): 添加数据库自动迁移到所有服务启动流程 2025-12-04 01:50:01 -08:00
Dockerfile.test feat(reporting-service): Implement complete reporting service with DDD architecture 2025-12-01 08:12:57 -08:00
Makefile feat(reporting-service): Implement complete reporting service with DDD architecture 2025-12-01 08:12:57 -08:00
deploy.sh feat(services): add individual deploy scripts for each service 2025-12-02 03:36:50 -08:00
docker-compose.test.yml feat(reporting-service): Implement complete reporting service with DDD architecture 2025-12-01 08:12:57 -08:00
nest-cli.json feat(reporting-service): Implement complete reporting service with DDD architecture 2025-12-01 08:12:57 -08:00
package-lock.json feat(reporting-service): Implement complete reporting service with DDD architecture 2025-12-01 08:12:57 -08:00
package.json feat(reporting-service): Implement complete reporting service with DDD architecture 2025-12-01 08:12:57 -08:00
tsconfig.build.json feat(reporting-service): Implement complete reporting service with DDD architecture 2025-12-01 08:12:57 -08:00
tsconfig.json feat(reporting-service): Implement complete reporting service with DDD architecture 2025-12-01 08:12:57 -08:00