pbl_compiler/models/pbl_capability_registry.json

107 lines
1.9 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"summary": [
{
"name": "pbl_capability_registry",
"comment": "Capability Registry第11章缺口补齐",
"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": "capability_key",
"comment": "能力键",
"null": false,
"type": "str",
"length": 64
},
{
"name": "category",
"comment": "分类",
"null": false,
"type": "str",
"length": 64
},
{
"name": "args_schema_json",
"comment": "参数JSON Schema",
"null": true,
"type": "json"
},
{
"name": "permission_required",
"comment": "所需权限",
"null": false,
"type": "str",
"length": 64
},
{
"name": "is_enabled",
"comment": "启用",
"null": false,
"type": "bool"
},
{
"name": "version_no",
"comment": "版本",
"null": false,
"type": "int"
},
{
"name": "description",
"comment": "说明",
"null": true,
"type": "text"
},
{
"name": "created_at",
"comment": "创建时间",
"null": false,
"type": "datetime"
},
{
"name": "updated_at",
"comment": "更新时间",
"null": false,
"type": "datetime"
}
],
"indexes": [
{
"name": "uk_cap_key",
"unique": true,
"fields": [
"tenant_id",
"capability_key",
"version_no"
]
},
{
"name": "PRIMARY",
"unique": true,
"fields": [
"id"
]
}
],
"codes": []
}