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