safety-eval-service/docs/db-diff/schema_diff.json

93 lines
3.2 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{
"local_table_count": 60,
"online_table_count": 60,
"missing_tables": [],
"extra_tables": [],
"missing_columns": [
{
"table": "org_info",
"column": "qualification_cert_no",
"def": "`qualification_cert_no` varchar(100) NULL DEFAULT NULL COMMENT '资质证书编号2026-08-08 原型V1.6新增,非必填)'",
"pos": 57
},
{
"table": "org_info",
"column": "fax",
"def": "`fax` varchar(20) NULL DEFAULT NULL COMMENT '传真2026-08-08 原型V1.6新增)'",
"pos": 58
},
{
"table": "org_info",
"column": "contact_name",
"def": "`contact_name` varchar(50) NULL DEFAULT NULL COMMENT '联系人2026-08-08 由 contact_name_phone 拆分)'",
"pos": 59
},
{
"table": "org_info",
"column": "contact_phone",
"def": "`contact_phone` varchar(20) NULL DEFAULT NULL COMMENT '联系电话2026-08-08 由 contact_name_phone 拆分)'",
"pos": 60
},
{
"table": "org_info",
"column": "contact_name_phone",
"def": "`contact_name_phone` varchar(100) NULL DEFAULT NULL COMMENT '联系人及电话2026-08-08 原型V1.6新增)'",
"pos": 61
},
{
"table": "org_info",
"column": "fixed_assets_total",
"def": "`fixed_assets_total` decimal(16,4) NULL DEFAULT NULL COMMENT '固定资产总值万元非负2026-08-08 原型V1.6新增)'",
"pos": 62
},
{
"table": "org_info",
"column": "apply_business_scope",
"def": "`apply_business_scope` varchar(500) NULL DEFAULT NULL COMMENT '拟申请的法定安全评价业务范围多选逗号分隔2026-08-08 原型V1.6新增)'",
"pos": 63
},
{
"table": "org_info",
"column": "org_intro",
"def": "`org_intro` text NULL DEFAULT NULL COMMENT '单位基本情况介绍长文本2026-08-08 原型V1.6新增)'",
"pos": 64
}
],
"extra_columns": [],
"diff_columns": [
{
"table": "eval_process_control",
"column": "reviewer_signature_task_status",
"diffs": {
"comment": [
"审核签字任务状态 dispatched 下发non_dispatched 未下发 , completed 已完成",
"过程控制审核签字任务状态 dispatched 下发non_dispatched 未下发 , completed 已完成"
]
},
"def": "`reviewer_signature_task_status` varchar(64) NOT NULL DEFAULT 'non_dispatched' COMMENT '过程控制审核签字任务状态 dispatched 下发non_dispatched 未下发 , completed 已完成'"
},
{
"table": "org_info",
"column": "safety_industry_category_code",
"diffs": {
"type": [
"varchar(512)",
"varchar(32)"
]
},
"def": "`safety_industry_category_code` varchar(32) NULL DEFAULT NULL COMMENT '安全生产监管行业类别编码'"
},
{
"table": "org_info",
"column": "safety_industry_category_name",
"diffs": {
"type": [
"varchar(1024)",
"varchar(50)"
]
},
"def": "`safety_industry_category_name` varchar(50) NULL DEFAULT NULL COMMENT '安全生产监管行业类别名称'"
}
],
"missing_indexes": []
}