mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-09-05 07:15:31 +08:00
feat(admin): XHProf 性能日志五张表 Scheme 迁移与模型
This commit is contained in:
24
app/admin/scheme/XhprofRunDetail.php
Normal file
24
app/admin/scheme/XhprofRunDetail.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace app\admin\scheme;
|
||||
|
||||
use app\common\scheme\BaseScheme;
|
||||
use app\common\scheme\attribute\Table;
|
||||
use app\common\scheme\attribute\Field;
|
||||
|
||||
/**
|
||||
* XHProf 采样原始 profile 数据表(显式豁免表)
|
||||
*
|
||||
* - 不进后台:无 CURD 页面、无 Component 注解
|
||||
* - 无 create_time/update_time/delete_time 约定字段
|
||||
* - 无额外索引(主键即查询入口,id = ul_xhprof_run.id)
|
||||
*/
|
||||
#[Table(name: 'ul_xhprof_run_detail', comment: 'XHProf 采样原始 profile 数据(按 run 1:1,不进后台)')]
|
||||
class XhprofRunDetail extends BaseScheme
|
||||
{
|
||||
#[Field(type: 'int', length: 11, nullable: false, unsigned: true, autoIncrement: false, primary: true, comment: '主键,值=ul_xhprof_run.id(不自增)')]
|
||||
public $id;
|
||||
|
||||
#[Field(type: 'longtext', nullable: true, comment: '原始 profile JSON')]
|
||||
public $profile_data;
|
||||
}
|
||||
Reference in New Issue
Block a user