Files
lotteryLaravel/database/migrations
kang 5b6d4cb74d feat: enhance agent management and validation logic
- Updated AGENTS.md to clarify agent account restrictions and permissions.
- Implemented checks in AgentNodeAdminUserStoreController and AgentNodeRoleStoreController to restrict admin user and role creation to the agent's own node.
- Enhanced validation in AdminPlayerStoreController and AdminPlayerUpdateController to enforce credit limit and rebate rate rules based on player funding mode.
- Refactored various request classes to utilize shared admin account field rules for consistency.
- Improved error handling in services related to credit allocation and rebate limits to ensure proper validation and messaging.
2026-06-14 21:13:27 +08:00
..

迁移目录说明

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

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

后续规则:

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