{ "summary": [ { "name": "pbl_game_definition", "comment": "Game Definition(第9章 schema + 指纹)", "module": "pbl_compiler", "engine": "mariadb", "charset": "utf8mb4", "tenant_scoped": true } ], "fields": [ { "name": "tenant_id", "comment": "租户ID(强制打头)", "null": false, "type": "str", "length": 32 }, { "name": "id", "comment": "主键", "null": false, "type": "int", "length": 20, "unsigned": true, "auto_increment": true }, { "name": "blueprint_id", "comment": "来源蓝图", "null": false, "type": "bigint" }, { "name": "blueprint_version_no", "comment": "蓝图版本", "null": false, "type": "int" }, { "name": "compiler_version_id", "comment": "编译版本", "null": false, "type": "bigint" }, { "name": "content_fingerprint", "comment": "SHA-256 指纹", "null": false, "type": "str", "length": 32 }, { "name": "definition_json", "comment": "Game Definition 正文", "null": true, "type": "json" }, { "name": "world_id", "comment": "落库 world", "null": false, "type": "bigint" }, { "name": "scene_id", "comment": "落库 scene", "null": false, "type": "bigint" }, { "name": "entity_count", "comment": "实体数", "null": false, "type": "int" }, { "name": "event_count", "comment": "事件数", "null": false, "type": "int" }, { "name": "quality_state", "comment": "编译时质量状态", "null": false, "type": "str", "length": 64 }, { "name": "duration_ms", "comment": "耗时", "null": false, "type": "int" }, { "name": "created_at", "comment": "创建时间", "null": false, "type": "datetime" }, { "name": "updated_at", "comment": "更新时间", "null": false, "type": "datetime" } ], "indexes": [ { "name": "uk_gd_fp", "unique": true, "fields": [ "tenant_id", "content_fingerprint" ] }, { "name": "idx_gd_bp", "unique": false, "fields": [ "tenant_id", "blueprint_id" ] }, { "name": "PRIMARY", "unique": true, "fields": [ "id" ] } ], "codes": [] }