Files
lotteryLaravel/database/migrations
kang b496a9457c
Some checks failed
lotterLaravel CI / test (push) Has been cancelled
feat: enhance configuration and logging for admin services
- Updated .env.example to enable Redis Lua for lottery risk pool and added configuration for agent settlement.
- Improved AGENTS.md to clarify site operations and admin roles.
- Enhanced PHPUnit configuration with memory limit and cache directory settings.
- Refactored AdminReportQueryService and related services to utilize LimitedQuery for better data handling and truncation warnings.
- Added logging for draw settlement failures in DrawTickService.
- Introduced credit preflight checks and reverse bet hold functionality in PlayerCreditService.
- Improved risk pool management with new Redis lock handling in RiskPoolService and TicketPlacementService.
2026-06-16 17:08:10 +08:00
..

迁移目录说明

当前项目使用 纯 migration 链 维护 PostgreSQL 结构。

  • 新环境初始化:直接执行完整 migration 链
  • 历史 migration 保留,作为唯一结构来源
  • 统一初始化入口:php artisan lottery:db-init

后续规则:

  1. 新增数据库结构变更时,继续正常创建新的 migration 文件放在本目录。
  2. 不再依赖 schema dump 作为基线;如果有临时导出文件,也不作为部署前提。