refactor(install): 种子退役,migrate:run 一条命令完成建表与初始数据

新增 InitDataAlignService 六域对齐(超管/角色/权限节点/配置/快捷入口/商城演示)与 20260909130000 迁移;SystemAdmin 快照以字面量哈希入库;删除种子三件与安装锁依赖,seeds 目录留 .gitkeep;README/tests/规则等 11 处说明同步。

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
augushong
2026-09-09 14:38:10 +00:00
parent e54c772868
commit 553047025c
18 changed files with 371 additions and 242 deletions

View File

@@ -0,0 +1,16 @@
<?php
namespace app\admin\service;
use base\admin\service\InitDataAlignServiceBase;
/**
* 初始化数据对齐服务(app 层入口).
*
* 六大数据域(超管/角色/权限节点/配置/快捷入口/商城演示)按快照对齐:
* 由数据型 migration 调用,把 extend/base/admin/service/adminInitData/
* 下的快照对齐到当前库。需要定制对齐行为时覆盖父类方法,保持方法签名一致。
*/
class InitDataAlignService extends InitDataAlignServiceBase
{
}