deliver: 交付收口(引擎代为提交)

This commit is contained in:
agent.develop 2026-09-18 23:51:30 +08:00
parent 626b2c0bfc
commit eb18a7d3d4

View File

@ -2,7 +2,10 @@
"summary": [ "summary": [
{ {
"name": "pbl_game_definition", "name": "pbl_game_definition",
"title": "Game Definition(第9章 schema + 指纹)",
"comment": "Game Definition(第9章 schema + 指纹)", "comment": "Game Definition(第9章 schema + 指纹)",
"primary": ["id"],
"catelog": "entity",
"module": "pbl_compiler", "module": "pbl_compiler",
"engine": "mariadb", "engine": "mariadb",
"charset": "utf8mb4", "charset": "utf8mb4",
@ -12,74 +15,84 @@
"fields": [ "fields": [
{ {
"name": "tenant_id", "name": "tenant_id",
"comment": "租户ID(强制打头)", "title": "租户ID(强制打头)",
"null": false,
"type": "str", "type": "str",
"length": 32 "length": 32,
"nullable": "no"
}, },
{ {
"name": "id", "name": "id",
"comment": "主键", "title": "主键ID",
"null": false, "type": "str",
"type": "int", "length": 32,
"length": 20, "nullable": "no"
"unsigned": true,
"auto_increment": true
}, },
{ {
"name": "blueprint_id", "name": "blueprint_id",
"comment": "来源蓝图", "title": "来源蓝图",
"null": false, "type": "str",
"type": "bigint" "length": 32,
"nullable": "no",
"default": ""
}, },
{ {
"name": "blueprint_version_no", "name": "blueprint_version_no",
"comment": "蓝图版本", "title": "蓝图版本",
"null": false, "type": "int",
"type": "int" "nullable": "no",
"default": "1"
}, },
{ {
"name": "compiler_version_id", "name": "compiler_version_id",
"comment": "编译版本", "title": "编译版本",
"null": false, "type": "str",
"type": "bigint" "length": 32,
"nullable": "no",
"default": ""
}, },
{ {
"name": "content_fingerprint", "name": "content_fingerprint",
"comment": "SHA-256 指纹(64 位 hexdigest,唯一约束 uk_gd_fp 成员)", "title": "SHA-256 指纹(64 位 hexdigest,唯一约束 uk_gd_fp 成员)",
"null": false,
"type": "str", "type": "str",
"length": 64 "length": 64,
"nullable": "no",
"default": ""
}, },
{ {
"name": "definition_json", "name": "definition_json",
"comment": "Game Definition 正文", "title": "Game Definition 正文",
"null": true, "type": "text",
"type": "json" "nullable": "yes"
}, },
{ {
"name": "world_id", "name": "world_id",
"comment": "落库 world", "title": "落库 world",
"null": false, "type": "str",
"type": "bigint" "length": 32,
"nullable": "no",
"default": ""
}, },
{ {
"name": "scene_id", "name": "scene_id",
"comment": "落库 scene", "title": "落库 scene",
"null": false, "type": "str",
"type": "bigint" "length": 32,
"nullable": "no",
"default": ""
}, },
{ {
"name": "entity_count", "name": "entity_count",
"comment": "实体数", "title": "实体数",
"null": false, "type": "int",
"type": "int" "nullable": "yes",
"default": "0"
}, },
{ {
"name": "event_count", "name": "event_count",
"comment": "事件数", "title": "事件数",
"null": false, "type": "int",
"type": "int" "nullable": "yes",
"default": "0"
}, },
{ {
"name": "rules_json", "name": "rules_json",
@ -110,54 +123,61 @@
}, },
{ {
"name": "quality_state", "name": "quality_state",
"comment": "编译时质量状态", "title": "编译时质量状态",
"null": false,
"type": "str", "type": "str",
"length": 64 "length": 64,
"nullable": "yes",
"default": ""
}, },
{ {
"name": "duration_ms", "name": "duration_ms",
"comment": "耗时", "title": "耗时",
"null": false, "type": "int",
"type": "int" "nullable": "yes",
"default": "0"
},
{
"name": "created_by",
"title": "创建人",
"type": "str",
"length": 32,
"nullable": "yes",
"default": ""
}, },
{ {
"name": "created_at", "name": "created_at",
"comment": "创建时间", "title": "创建时间",
"null": false, "type": "datetime",
"type": "datetime" "nullable": "yes"
}, },
{ {
"name": "updated_at", "name": "updated_at",
"comment": "更新时间", "title": "更新时间",
"null": false, "type": "datetime",
"type": "datetime" "nullable": "yes"
} }
], ],
"indexes": [ "indexes": [
{
"name": "PRIMARY",
"idxtype": "unique",
"idxfields": ["id"]
},
{ {
"name": "uk_gd_fp", "name": "uk_gd_fp",
"unique": true, "idxtype": "unique",
"fields": [ "idxfields": ["tenant_id", "content_fingerprint"]
"tenant_id",
"content_fingerprint"
]
}, },
{ {
"name": "idx_gd_bp", "name": "idx_gd_bp",
"unique": false, "idxtype": "index",
"fields": [ "idxfields": ["tenant_id", "blueprint_id"]
"tenant_id",
"blueprint_id"
]
}, },
{ {
"name": "PRIMARY", "name": "idx_gd_rules_hash",
"unique": true, "idxtype": "index",
"fields": [ "idxfields": ["tenant_id", "rules_hash"]
"id"
]
} }
], ],
"codes": [] "codes": []
} }