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,24 @@
<?php
/**
* @internal-framework
*
* 此文件为框架核心初始化数据
*
* 用途:超级管理员初始化(password 为 password('123456') 的 40 位字面量哈希,
* 不得调用 password() 生成,保证迁移上下文可用且结果确定)
* 维护者:框架维护者
*
* 注意:此文件属于框架内核,业务开发者不应修改
*/
$ul_system_admin = array(
array(
"id" => 1,
"head_img" => "/static/admin/images/head.jpg",
"username" => "admin",
"password" => "ac1e198122f74121a69b7bc9048561973a433daa",
"status" => 1,
)
);
return $ul_system_admin;