Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Blog
Sign in
Sign up
Fetch the repository succeeded.
Open Source
>
DevOps/Network
>
DevOps
&
Donate
Please sign in before you donate.
Cancel
Sign in
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
Unwatch
Watching
Releases Only
Ignoring
1
Star
13
Fork
15
open-hand
/
devops-service
Code
Issues
1
Pull Requests
0
Wiki
Insights
DevOps
Gitee Go
Baidu Efficiency Cloud
Tencent CloudBase
Tencent Cloud Serverless
Jenkins for Gitee
Service
Gitee Pages
JavaDoc
Quality analysis
CodeSafe
Gitee Scan
Don’t show this again
Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Already have an account?
Sign in
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
The license selected for the repository is subject to the license used by the main branch of the repository.
master
Manage
Manage
Branches (2)
Tags (179)
master
develop
0.25.0-alpha.1
0.24.7
0.23.16
0.24.6
0.24.5
0.24.4
0.24.3
0.23.15
0.21.13
0.23.14
0.24.2
0.23.13
0.24.1
0.23.12
0.24.0
0.23.11
0.24.0-alpha.10
0.22.12
0.23.10
0.22.11
0.23.9
0.24.0-alpha.9
0.24.0-alpha.8
0.23.8
0.22.10
0.24.0-alpha.7
0.24.0-alpha.6
0.24.0-alpha.5
0.22.9
0.24.0-alpha.4
0.23.7
0.22.8
0.21.12
0.23.6
0.24.0-alpha.3
0.24.0-alpha.2
0.24.0-alpha.1
0.23.5
0.23.4
0.22.7
0.23.3
0.22.6
0.21.11
0.22.5
0.22.4
0.21.10
0.18.21
0.22.3
0.23.2
0.21.9
0.23.1
0.23.0
0.21.8
0.21.7
0.23.0-alpha.5
0.23.0-alpha.4
0.23.0-alpha.3
0.23.0-alpha.2
0.23.0-alpha.1
0.22.2
0.22.1
0.22.0
0.21.6
0.21.5
0.21.4
0.21.3
0.21.2
0.21.1
0.21.0
0.20.8
0.20.7
0.20.6
0.20.5
0.20.4
0.20.3
0.20.2
0.20.1
0.19.10
0.20.0
0.19.9
0.19.8
0.19.7
0.18.20
0.18.19
0.19.6
0.19.5
0.19.4
0.19.3
0.19.2
0.18.18
0.19.1
0.19.0
0.18.17
0.18.16
0.18.15
0.18.14
0.18.13
0.18.12
0.18.11
0.18.10
0.18.9
0.18.8
0.18.7
0.18.6
0.18.5
0.18.4
0.17.11
0.18.3
0.17.10
0.17.9
0.17.8
0.17.7
0.18.2
0.18.1
0.18.0
0.17.6
0.17.5
0.17.4
0.16.7
0.16.6
0.17.3
0.17.2
0.17.1
0.16.5
0.17.0
0.16.4
0.16.3
0.16.2
0.16.1
0.15.2
0.16.0
0.15.1
0.15.0
0.14.1
0.14.0
0.13.5
0.13.4
0.13.3
0.12.4
0.13.2
0.13.1
0.13.0
0.12.3
0.12.2
0.12.1
0.12.0
0.11.1
0.11.0
0.10.5
0.10.4
0.10.3
0.9.7
0.10.2
0.10.1
0.9.6
0.10.0
0.8.7
0.9.5
0.9.4
0.8.6
0.9.3
0.9.2
0.9.1
0.9.0
0.8.5
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
0.7.0
0.6.5
0.6.4
0.6.3
0.6.2
0.6.1
0.6.0
0.5.1
0.5.0
Clone or download
HTTPS
SSH
SVN
SVN+SSH
Copy
Download ZIP
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register
devops-service
/
Choerondon_devops-0.24.0.ndm
Branches 2
Tags 179
Choerondon_devops-0.24.0.ndm
1.59 MB
{ "paper": { "name": "A4", "leftMargin": 0.5, "rightMargin": 0.5, "topMargin": 0.5, "bottomMargin": 0.5, "isPortriat": true }, "modelVersion": 2.01, "defaultSchema": "Default", "server": { "objectType": "Server_MYSQL", "name": "DefaultServer", "serverVersion": 50723, "edition": "Default", "lowerCaseTableNames": 0, "schemas": [ { "objectType": "Schema_MYSQL", "name": "Default", "tables": [ { "objectType": "Table_MYSQL", "name": "table_1", "comment": "", "engine": "", "characterSet": "", "collation": "", "autoIncrement": 0, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [], "indexes": [], "foreignKeys": [], "triggers": [], "tablePartitions": [] } ], "views": [] }, { "objectType": "Schema_MYSQL", "name": "devops_service", "tables": [ { "objectType": "Table_MYSQL", "name": "devops_app_service", "comment": "应用管理", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 3830, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "project_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "项目 ID", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "project_id" }, { "objectType": "TableField_MYSQL", "name": "name", "type": "varchar", "length": 64, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_bin", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "name" }, { "objectType": "TableField_MYSQL", "name": "code", "type": "varchar", "length": 64, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "应用编码", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "code" }, { "objectType": "TableField_MYSQL", "name": "type", "type": "varchar", "length": 50, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "应用类型", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "type" }, { "objectType": "TableField_MYSQL", "name": "is_active", "type": "tinyint", "length": 3, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "同步状态", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "is_active" }, { "objectType": "TableField_MYSQL", "name": "is_synchro", "type": "tinyint", "length": 3, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "是否同步成功。1成功,0失败", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "is_synchro" }, { "objectType": "TableField_MYSQL", "name": "is_failed", "type": "tinyint", "length": 3, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "是否创建失败", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "is_failed" }, { "objectType": "TableField_MYSQL", "name": "mkt_app_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "应用市场应用Id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "mkt_app_id" }, { "objectType": "TableField_MYSQL", "name": "img_url", "type": "varchar", "length": 200, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "图标url", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "img_url" }, { "objectType": "TableField_MYSQL", "name": "is_skip_check_permission", "type": "tinyint", "length": 3, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "是否跳过权限检查", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "is_skip_check_permission" }, { "objectType": "TableField_MYSQL", "name": "gitlab_project_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "GitLab 项目 ID", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "gitlab_project_id" }, { "objectType": "TableField_MYSQL", "name": "hook_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "gitlab webhook", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "hook_id" }, { "objectType": "TableField_MYSQL", "name": "harbor_config_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "harbor配置信息", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "harbor_config_id" }, { "objectType": "TableField_MYSQL", "name": "chart_config_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "chart配置信息", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "chart_config_id" }, { "objectType": "TableField_MYSQL", "name": "uuid", "type": "varchar", "length": 50, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "uuid" }, { "objectType": "TableField_MYSQL", "name": "token", "type": "char", "length": 36, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "TOKEN", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "token" }, { "objectType": "TableField_MYSQL", "name": "object_version_number", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_number" }, { "objectType": "TableField_MYSQL", "name": "created_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_by" }, { "objectType": "TableField_MYSQL", "name": "creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "creation_date" }, { "objectType": "TableField_MYSQL", "name": "last_updated_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_updated_by" }, { "objectType": "TableField_MYSQL", "name": "last_update_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_update_date" } ], "indexes": [ { "objectType": "Index_MYSQL", "name": "devops_app_uk_project_id_name", "type": "UNIQUE", "method": "BTREE", "comment": "", "oldName": "", "online": false, "keyBlockSize": 0, "parser": "", "algorithm": "", "lock": "", "collation": "", "cardinality": "", "packed": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "project_id", "keyLength": 0, "order": "", "oldName": "" }, { "objectType": "IndexField_MYSQL", "name": "name", "keyLength": 0, "order": "", "oldName": "" } ] }, { "objectType": "Index_MYSQL", "name": "devops_app_idx_project_id", "type": "NORMAL", "method": "BTREE", "comment": "", "oldName": "", "online": false, "keyBlockSize": 0, "parser": "", "algorithm": "", "lock": "", "collation": "", "cardinality": "", "packed": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "project_id", "keyLength": 0, "order": "", "oldName": "" } ] } ], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_app_service_instance", "comment": "实例", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 11868, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "code", "type": "varchar", "length": 64, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "实例code", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "code" }, { "objectType": "TableField_MYSQL", "name": "app_service_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "app_service_id" }, { "objectType": "TableField_MYSQL", "name": "app_service_version_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "应用版本 ID", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "app_service_version_id" }, { "objectType": "TableField_MYSQL", "name": "env_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "环境 ID", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "env_id" }, { "objectType": "TableField_MYSQL", "name": "value_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "devops deploy value id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "value_id" }, { "objectType": "TableField_MYSQL", "name": "command_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "command id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "command_id" }, { "objectType": "TableField_MYSQL", "name": "effect_command_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "当前实例生效的command id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "effect_command_id" }, { "objectType": "TableField_MYSQL", "name": "status", "type": "varchar", "length": 32, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "实例状态", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "status" }, { "objectType": "TableField_MYSQL", "name": "component_chart_name", "type": "varchar", "length": 64, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "组件对应实例的chart名称", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "component_chart_name" }, { "objectType": "TableField_MYSQL", "name": "component_version", "type": "varchar", "length": 64, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "组件对应实例的版本号", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "component_version" }, { "objectType": "TableField_MYSQL", "name": "object_version_number", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_number" }, { "objectType": "TableField_MYSQL", "name": "created_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_by" }, { "objectType": "TableField_MYSQL", "name": "creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "creation_date" }, { "objectType": "TableField_MYSQL", "name": "last_updated_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_updated_by" }, { "objectType": "TableField_MYSQL", "name": "last_update_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_update_date" } ], "indexes": [ { "objectType": "Index_MYSQL", "name": "idx_status", "type": "NORMAL", "method": "BTREE", "comment": "", "oldName": "", "online": false, "keyBlockSize": 0, "parser": "", "algorithm": "", "lock": "", "collation": "", "cardinality": "", "packed": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "status", "keyLength": 0, "order": "", "oldName": "" } ] }, { "objectType": "Index_MYSQL", "name": "idx_app_id", "type": "NORMAL", "method": "BTREE", "comment": "", "oldName": "", "online": false, "keyBlockSize": 0, "parser": "", "algorithm": "", "lock": "", "collation": "", "cardinality": "", "packed": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "app_service_id", "keyLength": 0, "order": "", "oldName": "" } ] }, { "objectType": "Index_MYSQL", "name": "idx_env_id", "type": "NORMAL", "method": "BTREE", "comment": "", "oldName": "", "online": false, "keyBlockSize": 0, "parser": "", "algorithm": "", "lock": "", "collation": "", "cardinality": "", "packed": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "env_id", "keyLength": 0, "order": "", "oldName": "" } ] } ], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [ { "objectType": "ForeignKey_MYSQL", "name": "fk_devops_app_service_instance_devops_app_service_1", "fields": [ "app_service_id" ], "referenceSchema": "devops_service", "referenceTable": "devops_app_service", "referenceFields": [ "id" ], "onDelete": "", "onUpdate": "", "sourceCardinality": "ManyRelationship", "targetCardinality": "OneAndOnlyOneRelationship", "oldName": "" } ], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_app_service_share_rule", "comment": "应用市场", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 1966, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "app_service_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "app_service_id" }, { "objectType": "TableField_MYSQL", "name": "share_level", "type": "varchar", "length": 100, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "共享层级", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "share_level" }, { "objectType": "TableField_MYSQL", "name": "version_type", "type": "varchar", "length": 50, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "版本类型", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "version_type" }, { "objectType": "TableField_MYSQL", "name": "version", "type": "varchar", "length": 100, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "指定版本", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "version" }, { "objectType": "TableField_MYSQL", "name": "project_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "共享到特定项目", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "project_id" }, { "objectType": "TableField_MYSQL", "name": "object_version_number", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_number" }, { "objectType": "TableField_MYSQL", "name": "created_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_by" }, { "objectType": "TableField_MYSQL", "name": "creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "creation_date" }, { "objectType": "TableField_MYSQL", "name": "last_updated_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_updated_by" }, { "objectType": "TableField_MYSQL", "name": "last_update_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_update_date" } ], "indexes": [ { "objectType": "Index_MYSQL", "name": "devops_market_idx_app_id", "type": "NORMAL", "method": "BTREE", "comment": "", "oldName": "", "online": false, "keyBlockSize": 0, "parser": "", "algorithm": "", "lock": "", "collation": "", "cardinality": "", "packed": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "app_service_id", "keyLength": 0, "order": "", "oldName": "" } ] } ], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [ { "objectType": "ForeignKey_MYSQL", "name": "fk_devops_app_service_share_rule_devops_app_service_1", "fields": [ "app_service_id" ], "referenceSchema": "devops_service", "referenceTable": "devops_app_service", "referenceFields": [ "id" ], "onDelete": "", "onUpdate": "", "sourceCardinality": "ManyRelationship", "targetCardinality": "OneAndOnlyOneRelationship", "oldName": "" } ], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_app_service_version_readme", "comment": "应用版本readme", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 77448, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "readme", "type": "mediumtext", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "readme" } ], "indexes": [], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_app_service_version_value", "comment": "版本参数表", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 81624, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "value", "type": "text", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "参数", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "value" } ], "indexes": [], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_branch", "comment": "git分支", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 49004, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "app_service_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "app_service_id" }, { "objectType": "TableField_MYSQL", "name": "user_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "用户Id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "user_id" }, { "objectType": "TableField_MYSQL", "name": "issue_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "issueId", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "issue_id" }, { "objectType": "TableField_MYSQL", "name": "branch_name", "type": "varchar", "length": 64, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "分支名", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "branch_name" }, { "objectType": "TableField_MYSQL", "name": "status", "type": "varchar", "length": 32, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Others", "defaultValue": "'success'", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "分支创建状态", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "status" }, { "objectType": "TableField_MYSQL", "name": "error_message", "type": "varchar", "length": 5000, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "分支创建失败错误信息", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "error_message" }, { "objectType": "TableField_MYSQL", "name": "origin_branch", "type": "varchar", "length": 64, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "来源分支", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "origin_branch" }, { "objectType": "TableField_MYSQL", "name": "checkout_commit", "type": "varchar", "length": 64, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "checkout sha", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "checkout_commit" }, { "objectType": "TableField_MYSQL", "name": "is_deleted", "type": "tinyint", "length": 3, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "分支是否删除", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "is_deleted" }, { "objectType": "TableField_MYSQL", "name": "checkout_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "checkout date", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "checkout_date" }, { "objectType": "TableField_MYSQL", "name": "last_commit", "type": "varchar", "length": 64, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "最新提交", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_commit" }, { "objectType": "TableField_MYSQL", "name": "last_commit_msg", "type": "varchar", "length": 512, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "最新提交信息", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_commit_msg" }, { "objectType": "TableField_MYSQL", "name": "last_commit_user", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "最新提交用户Id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_commit_user" }, { "objectType": "TableField_MYSQL", "name": "last_commit_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "最新提交时间", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_commit_date" }, { "objectType": "TableField_MYSQL", "name": "object_version_number", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_number" }, { "objectType": "TableField_MYSQL", "name": "created_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_by" }, { "objectType": "TableField_MYSQL", "name": "creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "creation_date" }, { "objectType": "TableField_MYSQL", "name": "last_updated_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_updated_by" }, { "objectType": "TableField_MYSQL", "name": "last_update_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_update_date" } ], "indexes": [ { "objectType": "Index_MYSQL", "name": "idx_branchname_appid_isdeleted_creationdate", "type": "NORMAL", "method": "BTREE", "comment": "", "oldName": "", "online": false, "keyBlockSize": 0, "parser": "", "algorithm": "", "lock": "", "collation": "", "cardinality": "", "packed": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "branch_name", "keyLength": 0, "order": "", "oldName": "" }, { "objectType": "IndexField_MYSQL", "name": "app_service_id", "keyLength": 0, "order": "", "oldName": "" }, { "objectType": "IndexField_MYSQL", "name": "is_deleted", "keyLength": 0, "order": "", "oldName": "" }, { "objectType": "IndexField_MYSQL", "name": "creation_date", "keyLength": 0, "order": "", "oldName": "" } ] }, { "objectType": "Index_MYSQL", "name": "idx_app_id", "type": "NORMAL", "method": "BTREE", "comment": "", "oldName": "", "online": false, "keyBlockSize": 0, "parser": "", "algorithm": "", "lock": "", "collation": "", "cardinality": "", "packed": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "app_service_id", "keyLength": 0, "order": "", "oldName": "" } ] } ], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [ { "objectType": "ForeignKey_MYSQL", "name": "fk_devops_branch_devops_app_service_1", "fields": [ "app_service_id" ], "referenceSchema": "devops_service", "referenceTable": "devops_app_service", "referenceFields": [ "id" ], "onDelete": "", "onUpdate": "", "sourceCardinality": "ManyRelationship", "targetCardinality": "OneAndOnlyOneRelationship", "oldName": "" } ], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_cert_manager", "comment": "cert-manager 信息", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 36, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "email", "type": "varchar", "length": 128, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "邮箱", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "email" }, { "objectType": "TableField_MYSQL", "name": "namespace", "type": "varchar", "length": 128, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "命名空间", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "namespace" }, { "objectType": "TableField_MYSQL", "name": "chart_version", "type": "varchar", "length": 128, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "chart版本", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "chart_version" }, { "objectType": "TableField_MYSQL", "name": "object_version_number", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_number" }, { "objectType": "TableField_MYSQL", "name": "created_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_by" }, { "objectType": "TableField_MYSQL", "name": "creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "creation_date" }, { "objectType": "TableField_MYSQL", "name": "last_updated_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_updated_by" }, { "objectType": "TableField_MYSQL", "name": "last_update_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_update_date" } ], "indexes": [], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_cert_manager_record", "comment": "cert-manager record", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 36, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "status", "type": "varchar", "length": 32, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "状态", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "status" }, { "objectType": "TableField_MYSQL", "name": "error", "type": "text", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "错误信息", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "error" }, { "objectType": "TableField_MYSQL", "name": "object_version_number", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_number" }, { "objectType": "TableField_MYSQL", "name": "created_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_by" }, { "objectType": "TableField_MYSQL", "name": "creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "creation_date" }, { "objectType": "TableField_MYSQL", "name": "last_updated_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_updated_by" }, { "objectType": "TableField_MYSQL", "name": "last_update_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_update_date" } ], "indexes": [], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_certification_file", "comment": "C7N Certification file", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 23, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "key_file", "type": "text", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "key file content", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "key_file" }, { "objectType": "TableField_MYSQL", "name": "cert_file", "type": "text", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "cert file content", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "cert_file" }, { "objectType": "TableField_MYSQL", "name": "object_version_number", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_number" }, { "objectType": "TableField_MYSQL", "name": "created_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_by" }, { "objectType": "TableField_MYSQL", "name": "creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "creation_date" }, { "objectType": "TableField_MYSQL", "name": "last_updated_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_updated_by" }, { "objectType": "TableField_MYSQL", "name": "last_update_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_update_date" } ], "indexes": [], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_certification_pro_rel", "comment": "证书项目关联关系表", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 0, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "cert_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "集群Id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "cert_id" }, { "objectType": "TableField_MYSQL", "name": "project_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "项目Id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "project_id" }, { "objectType": "TableField_MYSQL", "name": "object_version_number", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_number" }, { "objectType": "TableField_MYSQL", "name": "created_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_by" }, { "objectType": "TableField_MYSQL", "name": "creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "creation_date" }, { "objectType": "TableField_MYSQL", "name": "last_updated_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_updated_by" }, { "objectType": "TableField_MYSQL", "name": "last_update_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_update_date" } ], "indexes": [], "foreignKeys": [ { "objectType": "ForeignKey_MYSQL", "name": "fk_devops_certification_pro_rel_devops_project_1", "fields": [ "project_id" ], "referenceSchema": "devops_service", "referenceTable": "devops_project", "referenceFields": [ "iam_project_id" ], "onDelete": "", "onUpdate": "", "sourceCardinality": "ManyRelationship", "targetCardinality": "OneAndOnlyOneRelationship", "oldName": "" }, { "objectType": "ForeignKey_MYSQL", "name": "fk_devops_certification_devops_certification_pro_rel_1", "fields": [ "cert_id" ], "referenceSchema": "devops_service", "referenceTable": "devops_certification", "referenceFields": [ "id" ], "onDelete": "", "onUpdate": "", "sourceCardinality": "OneAndOnlyOneRelationship", "targetCardinality": "OneAndOnlyOneRelationship", "oldName": "" } ], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_check_log", "comment": "upgrade log", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 40, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "begin_check_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "开始处理时间", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "begin_check_date" }, { "objectType": "TableField_MYSQL", "name": "end_check_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "结束处理时间", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "end_check_date" }, { "objectType": "TableField_MYSQL", "name": "log", "type": "mediumtext", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "log" }, { "objectType": "TableField_MYSQL", "name": "object_version_number", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_number" }, { "objectType": "TableField_MYSQL", "name": "created_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_by" }, { "objectType": "TableField_MYSQL", "name": "creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "creation_date" }, { "objectType": "TableField_MYSQL", "name": "last_updated_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_updated_by" }, { "objectType": "TableField_MYSQL", "name": "last_update_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_update_date" } ], "indexes": [], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_cluster", "comment": "cluster information", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 328, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "type", "type": "varchar", "length": 10, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "type" }, { "objectType": "TableField_MYSQL", "name": "status", "type": "varchar", "length": 32, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "status" }, { "objectType": "TableField_MYSQL", "name": "organization_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "组织id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "organization_id" }, { "objectType": "TableField_MYSQL", "name": "name", "type": "varchar", "length": 64, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "集群名字", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "name" }, { "objectType": "TableField_MYSQL", "name": "code", "type": "varchar", "length": 64, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "集群编码", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "code" }, { "objectType": "TableField_MYSQL", "name": "description", "type": "varchar", "length": 500, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "description" }, { "objectType": "TableField_MYSQL", "name": "system_env_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "cluster env id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "system_env_id" }, { "objectType": "TableField_MYSQL", "name": "client_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "client_id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "client_id" }, { "objectType": "TableField_MYSQL", "name": "token", "type": "varchar", "length": 64, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "集群token", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "token" }, { "objectType": "TableField_MYSQL", "name": "project_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "项目Id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "project_id" }, { "objectType": "TableField_MYSQL", "name": "choerodon_id", "type": "varchar", "length": 64, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "平台标识", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "choerodon_id" }, { "objectType": "TableField_MYSQL", "name": "namespaces", "type": "text", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "命名空间列表", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "namespaces" }, { "objectType": "TableField_MYSQL", "name": "skip_check_project_permission", "type": "tinyint", "length": 3, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "是否跳过项目权限校验", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "skip_check_project_permission" }, { "objectType": "TableField_MYSQL", "name": "is_init", "type": "tinyint", "length": 3, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "集群是否被初始化", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "is_init" }, { "objectType": "TableField_MYSQL", "name": "object_version_number", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_number" }, { "objectType": "TableField_MYSQL", "name": "created_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_by" }, { "objectType": "TableField_MYSQL", "name": "creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "creation_date" }, { "objectType": "TableField_MYSQL", "name": "last_updated_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_updated_by" }, { "objectType": "TableField_MYSQL", "name": "last_update_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_update_date" } ], "indexes": [ { "objectType": "Index_MYSQL", "name": "uk_orgId_code", "type": "UNIQUE", "method": "BTREE", "comment": "", "oldName": "", "online": false, "keyBlockSize": 0, "parser": "", "algorithm": "", "lock": "", "collation": "", "cardinality": "", "packed": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "organization_id", "keyLength": 0, "order": "", "oldName": "" }, { "objectType": "IndexField_MYSQL", "name": "code", "keyLength": 0, "order": "", "oldName": "" } ] } ], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_cluster_pro_rel", "comment": "cluster project permission", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 0, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "cluster_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "集群Id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "cluster_id" }, { "objectType": "TableField_MYSQL", "name": "project_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "项目Id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "project_id" }, { "objectType": "TableField_MYSQL", "name": "object_version_number", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_number" }, { "objectType": "TableField_MYSQL", "name": "created_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_by" }, { "objectType": "TableField_MYSQL", "name": "creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "creation_date" }, { "objectType": "TableField_MYSQL", "name": "last_updated_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_updated_by" }, { "objectType": "TableField_MYSQL", "name": "last_update_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_update_date" } ], "indexes": [], "foreignKeys": [ { "objectType": "ForeignKey_MYSQL", "name": "fk_devops_cluster_pro_rel_devops_cluster_1", "fields": [ "cluster_id" ], "referenceSchema": "devops_service", "referenceTable": "devops_cluster", "referenceFields": [ "id" ], "onDelete": "", "onUpdate": "", "sourceCardinality": "ManyRelationship", "targetCardinality": "OneAndOnlyOneRelationship", "oldName": "" } ], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_cluster_resource", "comment": "cluster resource", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 57, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "name", "type": "varchar", "length": 64, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "资源名字", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "name" }, { "objectType": "TableField_MYSQL", "name": "code", "type": "varchar", "length": 64, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "资源编码", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "code" }, { "objectType": "TableField_MYSQL", "name": "type", "type": "varchar", "length": 15, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "资源类型", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "type" }, { "objectType": "TableField_MYSQL", "name": "cluster_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "集群id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "cluster_id" }, { "objectType": "TableField_MYSQL", "name": "object_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_id" }, { "objectType": "TableField_MYSQL", "name": "config_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "配置id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "config_id" }, { "objectType": "TableField_MYSQL", "name": "object_version_number", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_number" }, { "objectType": "TableField_MYSQL", "name": "operate", "type": "varchar", "length": 32, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "操作类型", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "operate" }, { "objectType": "TableField_MYSQL", "name": "created_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_by" }, { "objectType": "TableField_MYSQL", "name": "creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "creation_date" }, { "objectType": "TableField_MYSQL", "name": "last_updated_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_updated_by" }, { "objectType": "TableField_MYSQL", "name": "last_update_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_update_date" } ], "indexes": [], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [ { "objectType": "ForeignKey_MYSQL", "name": "fk_devops_cluster_resource_devops_prometheus_1", "fields": [ "config_id" ], "referenceSchema": "devops_service", "referenceTable": "devops_prometheus", "referenceFields": [ "id" ], "onDelete": "", "onUpdate": "", "sourceCardinality": "OneAndOnlyOneRelationship", "targetCardinality": "OneAndOnlyOneRelationship", "oldName": "" }, { "objectType": "ForeignKey_MYSQL", "name": "fk_devops_cluster_resource_devops_cert_manager_record_1", "fields": [ "config_id" ], "referenceSchema": "devops_service", "referenceTable": "devops_cert_manager_record", "referenceFields": [ "id" ], "onDelete": "", "onUpdate": "", "sourceCardinality": "OneAndOnlyOneRelationship", "targetCardinality": "OneAndOnlyOneRelationship", "oldName": "" }, { "objectType": "ForeignKey_MYSQL", "name": "fk_devops_cluster_resource_devops_cert_manager_1", "fields": [ "object_id" ], "referenceSchema": "devops_service", "referenceTable": "devops_cert_manager", "referenceFields": [ "id" ], "onDelete": "", "onUpdate": "", "sourceCardinality": "OneAndOnlyOneRelationship", "targetCardinality": "OneAndOnlyOneRelationship", "oldName": "" }, { "objectType": "ForeignKey_MYSQL", "name": "fk_devops_cluster_resource_devops_cluster_1", "fields": [ "cluster_id" ], "referenceSchema": "devops_service", "referenceTable": "devops_cluster", "referenceFields": [ "id" ], "onDelete": "", "onUpdate": "", "sourceCardinality": "ManyRelationship", "targetCardinality": "OneAndOnlyOneRelationship", "oldName": "" } ], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_command_event", "comment": "command event", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 3420796, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "command_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "command Id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "command_id" }, { "objectType": "TableField_MYSQL", "name": "type", "type": "varchar", "length": 64, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "类型", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "type" }, { "objectType": "TableField_MYSQL", "name": "name", "type": "varchar", "length": 64, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "name", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "name" }, { "objectType": "TableField_MYSQL", "name": "message", "type": "varchar", "length": 2000, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "信息", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "message" }, { "objectType": "TableField_MYSQL", "name": "event_creation_time", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "Event时间", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "event_creation_time" }, { "objectType": "TableField_MYSQL", "name": "object_version_number", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_number" }, { "objectType": "TableField_MYSQL", "name": "created_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_by" }, { "objectType": "TableField_MYSQL", "name": "creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "creation_date" }, { "objectType": "TableField_MYSQL", "name": "last_updated_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_updated_by" }, { "objectType": "TableField_MYSQL", "name": "last_update_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_update_date" } ], "indexes": [ { "objectType": "Index_MYSQL", "name": "idx_command_id_type", "type": "NORMAL", "method": "BTREE", "comment": "", "oldName": "", "online": false, "keyBlockSize": 0, "parser": "", "algorithm": "", "lock": "", "collation": "", "cardinality": "", "packed": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "command_id", "keyLength": 0, "order": "", "oldName": "" } ] }, { "objectType": "Index_MYSQL", "name": "idx_command_id", "type": "NORMAL", "method": "BTREE", "comment": "", "oldName": "", "online": false, "keyBlockSize": 0, "parser": "", "algorithm": "", "lock": "", "collation": "", "cardinality": "", "packed": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "command_id", "keyLength": 0, "order": "", "oldName": "" } ] } ], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [ { "objectType": "ForeignKey_MYSQL", "name": "fk_devops_command_event_devops_env_command_1", "fields": [ "command_id" ], "referenceSchema": "devops_service", "referenceTable": "devops_env_command", "referenceFields": [ "id" ], "onDelete": "", "onUpdate": "", "sourceCardinality": "ManyRelationship", "targetCardinality": "OneAndOnlyOneRelationship", "oldName": "" } ], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_config", "comment": "组件配置信息", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 257, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "app_service_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "服务ID", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "app_service_id" }, { "objectType": "TableField_MYSQL", "name": "organization_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "组织ID", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "organization_id" }, { "objectType": "TableField_MYSQL", "name": "project_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "项目ID", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "project_id" }, { "objectType": "TableField_MYSQL", "name": "name", "type": "varchar", "length": 80, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "name" }, { "objectType": "TableField_MYSQL", "name": "type", "type": "varchar", "length": 10, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "配置类型", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "type" }, { "objectType": "TableField_MYSQL", "name": "config", "type": "varchar", "length": 255, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "配置", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "config" }, { "objectType": "TableField_MYSQL", "name": "object_version_number", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_number" }, { "objectType": "TableField_MYSQL", "name": "created_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_by" }, { "objectType": "TableField_MYSQL", "name": "creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "creation_date" }, { "objectType": "TableField_MYSQL", "name": "last_updated_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_updated_by" }, { "objectType": "TableField_MYSQL", "name": "last_update_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_update_date" } ], "indexes": [], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [ { "objectType": "ForeignKey_MYSQL", "name": "fk_devops_config_devops_project_1", "fields": [ "project_id" ], "referenceSchema": "devops_service", "referenceTable": "devops_project", "referenceFields": [ "iam_project_id" ], "onDelete": "", "onUpdate": "", "sourceCardinality": "ManyRelationship", "targetCardinality": "OneAndOnlyOneRelationship", "oldName": "" } ], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_config_map", "comment": "config map", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 234, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "env_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "env Id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "env_id" }, { "objectType": "TableField_MYSQL", "name": "command_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "command Id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "command_id" }, { "objectType": "TableField_MYSQL", "name": "app_service_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "应用服务id / 可为空", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "app_service_id" }, { "objectType": "TableField_MYSQL", "name": "name", "type": "varchar", "length": 128, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "name" }, { "objectType": "TableField_MYSQL", "name": "description", "type": "varchar", "length": 64, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "信息", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "description" }, { "objectType": "TableField_MYSQL", "name": "value", "type": "text", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "key-value值", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "value" }, { "objectType": "TableField_MYSQL", "name": "object_version_number", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_number" }, { "objectType": "TableField_MYSQL", "name": "created_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_by" }, { "objectType": "TableField_MYSQL", "name": "creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "creation_date" }, { "objectType": "TableField_MYSQL", "name": "last_updated_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_updated_by" }, { "objectType": "TableField_MYSQL", "name": "last_update_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_update_date" } ], "indexes": [ { "objectType": "Index_MYSQL", "name": "uk_env_id_name", "type": "UNIQUE", "method": "BTREE", "comment": "", "oldName": "", "online": false, "keyBlockSize": 0, "parser": "", "algorithm": "", "lock": "", "collation": "", "cardinality": "", "packed": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "env_id", "keyLength": 0, "order": "", "oldName": "" }, { "objectType": "IndexField_MYSQL", "name": "name", "keyLength": 0, "order": "", "oldName": "" } ] } ], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [ { "objectType": "ForeignKey_MYSQL", "name": "fk_devops_config_map_devops_env_1", "fields": [ "env_id" ], "referenceSchema": "devops_service", "referenceTable": "devops_env", "referenceFields": [ "id" ], "onDelete": "", "onUpdate": "", "sourceCardinality": "ManyRelationship", "targetCardinality": "OneAndOnlyOneRelationship", "oldName": "" }, { "objectType": "ForeignKey_MYSQL", "name": "fk_devops_config_map_devops_app_service_1", "fields": [ "app_service_id" ], "referenceSchema": "devops_service", "referenceTable": "devops_app_service", "referenceFields": [ "id" ], "onDelete": "", "onUpdate": "", "sourceCardinality": "ManyRelationship", "targetCardinality": "OneAndOnlyOneRelationship", "oldName": "" } ], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_customize_resource", "comment": "customize resource", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 77, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "project_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "project Id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "project_id" }, { "objectType": "TableField_MYSQL", "name": "env_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "env Id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "env_id" }, { "objectType": "TableField_MYSQL", "name": "content_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "content id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "content_id" }, { "objectType": "TableField_MYSQL", "name": "command_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "command id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "command_id" }, { "objectType": "TableField_MYSQL", "name": "k8s_kind", "type": "varchar", "length": 32, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "k8s resource kind", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "k8s_kind" }, { "objectType": "TableField_MYSQL", "name": "name", "type": "varchar", "length": 32, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "k8s resource name", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "name" }, { "objectType": "TableField_MYSQL", "name": "file_path", "type": "varchar", "length": 32, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "gitOps file path", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "file_path" }, { "objectType": "TableField_MYSQL", "name": "description", "type": "varchar", "length": 5000, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "k8s resource description", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "description" }, { "objectType": "TableField_MYSQL", "name": "object_version_number", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_number" }, { "objectType": "TableField_MYSQL", "name": "created_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_by" }, { "objectType": "TableField_MYSQL", "name": "creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "creation_date" }, { "objectType": "TableField_MYSQL", "name": "last_updated_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_updated_by" }, { "objectType": "TableField_MYSQL", "name": "last_update_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_update_date" } ], "indexes": [ { "objectType": "Index_MYSQL", "name": "uk_env_id_kind_name", "type": "UNIQUE", "method": "BTREE", "comment": "", "oldName": "", "online": false, "keyBlockSize": 0, "parser": "", "algorithm": "", "lock": "", "collation": "", "cardinality": "", "packed": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "env_id", "keyLength": 0, "order": "", "oldName": "" }, { "objectType": "IndexField_MYSQL", "name": "k8s_kind", "keyLength": 0, "order": "", "oldName": "" }, { "objectType": "IndexField_MYSQL", "name": "name", "keyLength": 0, "order": "", "oldName": "" } ] } ], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [ { "objectType": "ForeignKey_MYSQL", "name": "fk_devops_customize_resource_devops_env_1", "fields": [ "env_id" ], "referenceSchema": "devops_service", "referenceTable": "devops_env", "referenceFields": [ "id" ], "onDelete": "", "onUpdate": "", "sourceCardinality": "NoneRelationship", "targetCardinality": "NoneRelationship", "oldName": "" }, { "objectType": "ForeignKey_MYSQL", "name": "fk_devops_customize_resource_devops_customize_resource_content_1", "fields": [ "content_id" ], "referenceSchema": "devops_service", "referenceTable": "devops_customize_resource_content", "referenceFields": [ "id" ], "onDelete": "", "onUpdate": "", "sourceCardinality": "OneAndOnlyOneRelationship", "targetCardinality": "OneAndOnlyOneRelationship", "oldName": "" } ], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_customize_resource_content", "comment": "customize resource content", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 77, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "content", "type": "text", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "yaml resource", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "content" } ], "indexes": [], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_deploy_value", "comment": "value ID", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 591, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "value", "type": "text", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "参数", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "value" }, { "objectType": "TableField_MYSQL", "name": "project_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "项目Id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "project_id" }, { "objectType": "TableField_MYSQL", "name": "app_service_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "app_service_id" }, { "objectType": "TableField_MYSQL", "name": "env_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "环境Id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "env_id" }, { "objectType": "TableField_MYSQL", "name": "description", "type": "varchar", "length": 255, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "描述", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "description" }, { "objectType": "TableField_MYSQL", "name": "name", "type": "varchar", "length": 50, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "名称", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "name" }, { "objectType": "TableField_MYSQL", "name": "object_version_number", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_number" }, { "objectType": "TableField_MYSQL", "name": "created_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_by" }, { "objectType": "TableField_MYSQL", "name": "creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "creation_date" }, { "objectType": "TableField_MYSQL", "name": "last_updated_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_updated_by" }, { "objectType": "TableField_MYSQL", "name": "last_update_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_update_date" } ], "indexes": [], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_env", "comment": "环境管理", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 622, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "project_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "项目 ID", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "project_id" }, { "objectType": "TableField_MYSQL", "name": "cluster_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "集群id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "cluster_id" }, { "objectType": "TableField_MYSQL", "name": "gitlab_env_project_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "gitlab env project id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "gitlab_env_project_id" }, { "objectType": "TableField_MYSQL", "name": "is_synchro", "type": "tinyint", "length": 3, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "is synchro", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "is_synchro" }, { "objectType": "TableField_MYSQL", "name": "is_failed", "type": "tinyint", "length": 3, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "is failed", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "is_failed" }, { "objectType": "TableField_MYSQL", "name": "type", "type": "varchar", "length": 10, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Others", "defaultValue": "'user'", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "环境类型", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "type" }, { "objectType": "TableField_MYSQL", "name": "is_skip_check_permission", "type": "tinyint", "length": 3, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "是否跳过环境权限校验", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "is_skip_check_permission" }, { "objectType": "TableField_MYSQL", "name": "hook_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "gitlab webhook", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "hook_id" }, { "objectType": "TableField_MYSQL", "name": "saga_sync_commit", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "saga同步的commit", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "saga_sync_commit" }, { "objectType": "TableField_MYSQL", "name": "devops_sync_commit", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "env_commit_devops_sync_id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "devops_sync_commit" }, { "objectType": "TableField_MYSQL", "name": "agent_sync_commit", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "senv_commit_agent_sync_id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "agent_sync_commit" }, { "objectType": "TableField_MYSQL", "name": "devops_env_group_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "devops env group id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "devops_env_group_id" }, { "objectType": "TableField_MYSQL", "name": "name", "type": "varchar", "length": 32, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_bin", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "name" }, { "objectType": "TableField_MYSQL", "name": "code", "type": "varchar", "length": 128, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "环境命名空间", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "code" }, { "objectType": "TableField_MYSQL", "name": "token", "type": "char", "length": 36, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "token", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "token" }, { "objectType": "TableField_MYSQL", "name": "env_id_rsa", "type": "varchar", "length": 5000, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "ssh id rsa ", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "env_id_rsa" }, { "objectType": "TableField_MYSQL", "name": "env_id_rsa_pub", "type": "varchar", "length": 5000, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "ssh id rsa pub", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "env_id_rsa_pub" }, { "objectType": "TableField_MYSQL", "name": "description", "type": "varchar", "length": 500, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "description" }, { "objectType": "TableField_MYSQL", "name": "is_active", "type": "tinyint", "length": 3, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "是否可用", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "is_active" }, { "objectType": "TableField_MYSQL", "name": "object_version_number", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_number" }, { "objectType": "TableField_MYSQL", "name": "created_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_by" }, { "objectType": "TableField_MYSQL", "name": "creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "creation_date" }, { "objectType": "TableField_MYSQL", "name": "last_updated_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_updated_by" }, { "objectType": "TableField_MYSQL", "name": "last_update_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_update_date" } ], "indexes": [ { "objectType": "Index_MYSQL", "name": "devops_env_idx_project_id", "type": "NORMAL", "method": "BTREE", "comment": "", "oldName": "", "online": false, "keyBlockSize": 0, "parser": "", "algorithm": "", "lock": "", "collation": "", "cardinality": "", "packed": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "project_id", "keyLength": 0, "order": "", "oldName": "" } ] } ], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [ { "objectType": "ForeignKey_MYSQL", "name": "fk_devops_env_devops_env_resource_1", "fields": [ "id" ], "referenceSchema": "devops_service", "referenceTable": "devops_env_resource", "referenceFields": [ "env_id" ], "onDelete": "", "onUpdate": "", "sourceCardinality": "OneAndOnlyOneRelationship", "targetCardinality": "ManyRelationship", "oldName": "" }, { "objectType": "ForeignKey_MYSQL", "name": "fk_devops_env_devops_env_group_1", "fields": [ "devops_env_group_id" ], "referenceSchema": "devops_service", "referenceTable": "devops_env_group", "referenceFields": [ "id" ], "onDelete": "", "onUpdate": "", "sourceCardinality": "ManyRelationship", "targetCardinality": "OneAndOnlyOneRelationship", "oldName": "" }, { "objectType": "ForeignKey_MYSQL", "name": "fk_devops_env_devops_cluster_1", "fields": [ "cluster_id" ], "referenceSchema": "devops_service", "referenceTable": "devops_cluster", "referenceFields": [ "id" ], "onDelete": "", "onUpdate": "", "sourceCardinality": "ManyRelationship", "targetCardinality": "OneAndOnlyOneRelationship", "oldName": "" } ], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_env_command", "comment": "对象操作", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 83983, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "object", "type": "varchar", "length": 32, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "操作对象", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object" }, { "objectType": "TableField_MYSQL", "name": "object_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "操作对象ID", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_id" }, { "objectType": "TableField_MYSQL", "name": "object_version_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "object version id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_id" }, { "objectType": "TableField_MYSQL", "name": "value_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "参数ID ", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "value_id" }, { "objectType": "TableField_MYSQL", "name": "command_type", "type": "varchar", "length": 32, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "操作类型", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "command_type" }, { "objectType": "TableField_MYSQL", "name": "status", "type": "varchar", "length": 32, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "操作状态", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "status" }, { "objectType": "TableField_MYSQL", "name": "sha", "type": "varchar", "length": 128, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "commit sha", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "sha" }, { "objectType": "TableField_MYSQL", "name": "error", "type": "varchar", "length": 5000, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "错误信息", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "error" }, { "objectType": "TableField_MYSQL", "name": "object_version_number", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_number" }, { "objectType": "TableField_MYSQL", "name": "created_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_by" }, { "objectType": "TableField_MYSQL", "name": "creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "creation_date" }, { "objectType": "TableField_MYSQL", "name": "last_updated_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_updated_by" }, { "objectType": "TableField_MYSQL", "name": "last_update_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_update_date" } ], "indexes": [ { "objectType": "Index_MYSQL", "name": "idx_object_id", "type": "NORMAL", "method": "BTREE", "comment": "", "oldName": "", "online": false, "keyBlockSize": 0, "parser": "", "algorithm": "", "lock": "", "collation": "", "cardinality": "", "packed": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "object_id", "keyLength": 0, "order": "", "oldName": "" } ] } ], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [ { "objectType": "ForeignKey_MYSQL", "name": "fk_devops_env_command_devops_env_command_value_1", "fields": [ "value_id" ], "referenceSchema": "devops_service", "referenceTable": "devops_env_command_value", "referenceFields": [ "id" ], "onDelete": "", "onUpdate": "", "sourceCardinality": "OneAndOnlyOneRelationship", "targetCardinality": "OneAndOnlyOneRelationship", "oldName": "" } ], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_env_command_log", "comment": "部署", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 34549, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "command_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "操作ID", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "command_id" }, { "objectType": "TableField_MYSQL", "name": "log", "type": "text", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "资源日志", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "log" } ], "indexes": [ { "objectType": "Index_MYSQL", "name": "idx_command_id", "type": "NORMAL", "method": "BTREE", "comment": "", "oldName": "", "online": false, "keyBlockSize": 0, "parser": "", "algorithm": "", "lock": "", "collation": "", "cardinality": "", "packed": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "command_id", "keyLength": 0, "order": "", "oldName": "" } ] } ], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [ { "objectType": "ForeignKey_MYSQL", "name": "fk_devops_env_command_log_devops_env_command_1", "fields": [ "command_id" ], "referenceSchema": "devops_service", "referenceTable": "devops_env_command", "referenceFields": [ "id" ], "onDelete": "", "onUpdate": "", "sourceCardinality": "ManyRelationship", "targetCardinality": "OneAndOnlyOneRelationship", "oldName": "" } ], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_env_command_value", "comment": "command操作参数表", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 58797, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "value", "type": "text", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "参数", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "value" } ], "indexes": [], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_env_commit", "comment": "环境commit", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 61327, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "env_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "环境 ID ", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "env_id" }, { "objectType": "TableField_MYSQL", "name": "commit_user", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "提交人", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "commit_user" }, { "objectType": "TableField_MYSQL", "name": "commit_sha", "type": "varchar", "length": 100, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "提交信息", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "commit_sha" }, { "objectType": "TableField_MYSQL", "name": "commit_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "提交时间", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "commit_date" }, { "objectType": "TableField_MYSQL", "name": "object_version_number", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_number" }, { "objectType": "TableField_MYSQL", "name": "created_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_by" }, { "objectType": "TableField_MYSQL", "name": "creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "creation_date" }, { "objectType": "TableField_MYSQL", "name": "last_updated_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_updated_by" }, { "objectType": "TableField_MYSQL", "name": "last_update_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_update_date" } ], "indexes": [], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [ { "objectType": "ForeignKey_MYSQL", "name": "fk_devops_env_commit_devops_env_1", "fields": [ "env_id" ], "referenceSchema": "devops_service", "referenceTable": "devops_env", "referenceFields": [ "id" ], "onDelete": "", "onUpdate": "", "sourceCardinality": "ManyRelationship", "targetCardinality": "OneAndOnlyOneRelationship", "oldName": "" } ], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_env_file", "comment": "环境文件", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 11044, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "env_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "环境 ID ", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "env_id" }, { "objectType": "TableField_MYSQL", "name": "file_path", "type": "varchar", "length": 512, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "文件路径", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "file_path" }, { "objectType": "TableField_MYSQL", "name": "devops_commit", "type": "varchar", "length": 100, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "devops sync commit", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "devops_commit" }, { "objectType": "TableField_MYSQL", "name": "agent_commit", "type": "varchar", "length": 512, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "agent sync commit", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "agent_commit" }, { "objectType": "TableField_MYSQL", "name": "object_version_number", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_number" }, { "objectType": "TableField_MYSQL", "name": "created_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_by" }, { "objectType": "TableField_MYSQL", "name": "creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "creation_date" }, { "objectType": "TableField_MYSQL", "name": "last_updated_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_updated_by" }, { "objectType": "TableField_MYSQL", "name": "last_update_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_update_date" } ], "indexes": [], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [ { "objectType": "ForeignKey_MYSQL", "name": "fk_devops_env_file_devops_env_1", "fields": [ "env_id" ], "referenceSchema": "devops_service", "referenceTable": "devops_env", "referenceFields": [ "id" ], "onDelete": "", "onUpdate": "", "sourceCardinality": "ManyRelationship", "targetCardinality": "OneAndOnlyOneRelationship", "oldName": "" } ], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_env_file_error", "comment": "环境错误文件", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 1376, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "env_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "环境 ID ", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "env_id" }, { "objectType": "TableField_MYSQL", "name": "file_path", "type": "varchar", "length": 512, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "文件路径", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "file_path" }, { "objectType": "TableField_MYSQL", "name": "commit", "type": "varchar", "length": 100, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "提交", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "commit" }, { "objectType": "TableField_MYSQL", "name": "error", "type": "varchar", "length": 5000, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "error" }, { "objectType": "TableField_MYSQL", "name": "object_version_number", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_number" }, { "objectType": "TableField_MYSQL", "name": "created_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_by" }, { "objectType": "TableField_MYSQL", "name": "creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "creation_date" }, { "objectType": "TableField_MYSQL", "name": "last_updated_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_updated_by" }, { "objectType": "TableField_MYSQL", "name": "last_update_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_update_date" } ], "indexes": [], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [ { "objectType": "ForeignKey_MYSQL", "name": "fk_devops_env_file_error_devops_env_1", "fields": [ "env_id" ], "referenceSchema": "devops_service", "referenceTable": "devops_env", "referenceFields": [ "id" ], "onDelete": "", "onUpdate": "", "sourceCardinality": "ManyRelationship", "targetCardinality": "OneAndOnlyOneRelationship", "oldName": "" } ], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_env_file_resource", "comment": "环境文件信息", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 12632, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "env_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "环境 ID ", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "env_id" }, { "objectType": "TableField_MYSQL", "name": "file_path", "type": "varchar", "length": 512, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "文件路径", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "file_path" }, { "objectType": "TableField_MYSQL", "name": "resource_type", "type": "varchar", "length": 32, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "资源类型", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "resource_type" }, { "objectType": "TableField_MYSQL", "name": "resource_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "资源ID", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "resource_id" }, { "objectType": "TableField_MYSQL", "name": "object_version_number", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_number" }, { "objectType": "TableField_MYSQL", "name": "created_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_by" }, { "objectType": "TableField_MYSQL", "name": "creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "creation_date" }, { "objectType": "TableField_MYSQL", "name": "last_updated_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_updated_by" }, { "objectType": "TableField_MYSQL", "name": "last_update_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_update_date" } ], "indexes": [ { "objectType": "Index_MYSQL", "name": "file_resource_uk_env_type_resource_id", "type": "UNIQUE", "method": "BTREE", "comment": "", "oldName": "", "online": false, "keyBlockSize": 0, "parser": "", "algorithm": "", "lock": "", "collation": "", "cardinality": "", "packed": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "env_id", "keyLength": 0, "order": "", "oldName": "" }, { "objectType": "IndexField_MYSQL", "name": "resource_type", "keyLength": 0, "order": "", "oldName": "" }, { "objectType": "IndexField_MYSQL", "name": "resource_id", "keyLength": 0, "order": "", "oldName": "" } ] } ], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [ { "objectType": "ForeignKey_MYSQL", "name": "fk_devops_env_file_resource_devops_env_1", "fields": [ "env_id" ], "referenceSchema": "devops_service", "referenceTable": "devops_env", "referenceFields": [ "id" ], "onDelete": "", "onUpdate": "", "sourceCardinality": "ManyRelationship", "targetCardinality": "OneAndOnlyOneRelationship", "oldName": "" } ], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_env_group", "comment": "环境组管理", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 87, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "project_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "项目 ID", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "project_id" }, { "objectType": "TableField_MYSQL", "name": "name", "type": "varchar", "length": 32, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "环境组名称", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "name" }, { "objectType": "TableField_MYSQL", "name": "object_version_number", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_number" }, { "objectType": "TableField_MYSQL", "name": "created_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_by" }, { "objectType": "TableField_MYSQL", "name": "creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "creation_date" }, { "objectType": "TableField_MYSQL", "name": "last_updated_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_updated_by" }, { "objectType": "TableField_MYSQL", "name": "last_update_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_update_date" } ], "indexes": [ { "objectType": "Index_MYSQL", "name": "devops_env_group_uk_project_id_code", "type": "UNIQUE", "method": "BTREE", "comment": "", "oldName": "", "online": false, "keyBlockSize": 0, "parser": "", "algorithm": "", "lock": "", "collation": "", "cardinality": "", "packed": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "project_id", "keyLength": 0, "order": "", "oldName": "" }, { "objectType": "IndexField_MYSQL", "name": "name", "keyLength": 0, "order": "", "oldName": "" } ] } ], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_env_pod", "comment": "应用容器", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 91633, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "instance_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "instance_id" }, { "objectType": "TableField_MYSQL", "name": "name", "type": "varchar", "length": 64, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "容器名称", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "name" }, { "objectType": "TableField_MYSQL", "name": "namespace", "type": "varchar", "length": 128, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "命名空间", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "namespace" }, { "objectType": "TableField_MYSQL", "name": "node_name", "type": "varchar", "length": 255, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "节点名称", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "node_name" }, { "objectType": "TableField_MYSQL", "name": "ip", "type": "varchar", "length": 64, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "容器地址", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "ip" }, { "objectType": "TableField_MYSQL", "name": "status", "type": "varchar", "length": 32, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "容器状态", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "status" }, { "objectType": "TableField_MYSQL", "name": "restart_count", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "Pod的重启次数,由Pod中的容器重启次数累加", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "restart_count" }, { "objectType": "TableField_MYSQL", "name": "is_ready", "type": "tinyint", "length": 3, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "是否可用", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "is_ready" }, { "objectType": "TableField_MYSQL", "name": "resource_version", "type": "varchar", "length": 32, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "pod 版本记录", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "resource_version" }, { "objectType": "TableField_MYSQL", "name": "object_version_number", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_number" }, { "objectType": "TableField_MYSQL", "name": "created_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_by" }, { "objectType": "TableField_MYSQL", "name": "creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "creation_date" }, { "objectType": "TableField_MYSQL", "name": "last_updated_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_updated_by" }, { "objectType": "TableField_MYSQL", "name": "last_update_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_update_date" } ], "indexes": [ { "objectType": "Index_MYSQL", "name": "devops_pod_uk_namespace_name", "type": "UNIQUE", "method": "BTREE", "comment": "", "oldName": "", "online": false, "keyBlockSize": 0, "parser": "", "algorithm": "", "lock": "", "collation": "", "cardinality": "", "packed": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "namespace", "keyLength": 0, "order": "", "oldName": "" }, { "objectType": "IndexField_MYSQL", "name": "name", "keyLength": 0, "order": "", "oldName": "" } ] }, { "objectType": "Index_MYSQL", "name": "idx_resource_version", "type": "NORMAL", "method": "BTREE", "comment": "", "oldName": "", "online": false, "keyBlockSize": 0, "parser": "", "algorithm": "", "lock": "", "collation": "", "cardinality": "", "packed": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "resource_version", "keyLength": 0, "order": "", "oldName": "" } ] } ], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [ { "objectType": "ForeignKey_MYSQL", "name": "fk_devops_env_pod_devops_app_service_instance_1", "fields": [ "instance_id" ], "referenceSchema": "devops_service", "referenceTable": "devops_app_service_instance", "referenceFields": [ "id" ], "onDelete": "", "onUpdate": "", "sourceCardinality": "ManyRelationship", "targetCardinality": "OneAndOnlyOneRelationship", "oldName": "" } ], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_env_resource", "comment": "部署", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 172813, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "instance_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "instance_id" }, { "objectType": "TableField_MYSQL", "name": "env_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "env", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "env_id" }, { "objectType": "TableField_MYSQL", "name": "command_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "command", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "command_id" }, { "objectType": "TableField_MYSQL", "name": "resource_detail_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "资源信息", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "resource_detail_id" }, { "objectType": "TableField_MYSQL", "name": "kind", "type": "varchar", "length": 32, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "资源类型", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "kind" }, { "objectType": "TableField_MYSQL", "name": "name", "type": "varchar", "length": 64, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "资源名", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "name" }, { "objectType": "TableField_MYSQL", "name": "weight", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "hook执行顺序", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "weight" }, { "objectType": "TableField_MYSQL", "name": "reversion", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "判断对象是否更新", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "reversion" }, { "objectType": "TableField_MYSQL", "name": "object_version_number", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_number" }, { "objectType": "TableField_MYSQL", "name": "created_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_by" }, { "objectType": "TableField_MYSQL", "name": "creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "creation_date" }, { "objectType": "TableField_MYSQL", "name": "last_updated_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_updated_by" }, { "objectType": "TableField_MYSQL", "name": "last_update_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_update_date" } ], "indexes": [ { "objectType": "Index_MYSQL", "name": "idx_appinstanceid", "type": "NORMAL", "method": "BTREE", "comment": "", "oldName": "", "online": false, "keyBlockSize": 0, "parser": "", "algorithm": "", "lock": "", "collation": "", "cardinality": "", "packed": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "instance_id", "keyLength": 0, "order": "", "oldName": "" } ] }, { "objectType": "Index_MYSQL", "name": "idx_commandid_kind_weight", "type": "NORMAL", "method": "BTREE", "comment": "", "oldName": "", "online": false, "keyBlockSize": 0, "parser": "", "algorithm": "", "lock": "", "collation": "", "cardinality": "", "packed": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "command_id", "keyLength": 0, "order": "", "oldName": "" }, { "objectType": "IndexField_MYSQL", "name": "kind", "keyLength": 0, "order": "", "oldName": "" }, { "objectType": "IndexField_MYSQL", "name": "weight", "keyLength": 0, "order": "", "oldName": "" } ] } ], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [ { "objectType": "ForeignKey_MYSQL", "name": "fk_devops_env_resource_devops_env_resource_detail_1", "fields": [ "resource_detail_id" ], "referenceSchema": "devops_service", "referenceTable": "devops_env_resource_detail", "referenceFields": [ "id" ], "onDelete": "", "onUpdate": "", "sourceCardinality": "OneAndOnlyOneRelationship", "targetCardinality": "OneAndOnlyOneRelationship", "oldName": "" } ], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_env_resource_detail", "comment": "部署", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 172818, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "message", "type": "text", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "资源信息", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "message" }, { "objectType": "TableField_MYSQL", "name": "object_version_number", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_number" }, { "objectType": "TableField_MYSQL", "name": "created_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_by" }, { "objectType": "TableField_MYSQL", "name": "creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "creation_date" }, { "objectType": "TableField_MYSQL", "name": "last_updated_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_updated_by" }, { "objectType": "TableField_MYSQL", "name": "last_update_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_update_date" } ], "indexes": [], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_gitlab_commit", "comment": "devops commit", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 1295219, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "app_service_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "app_service_id" }, { "objectType": "TableField_MYSQL", "name": "user_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "用户id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "user_id" }, { "objectType": "TableField_MYSQL", "name": "commit_sha", "type": "varchar", "length": 128, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "commit sha", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "commit_sha" }, { "objectType": "TableField_MYSQL", "name": "commit_content", "type": "varchar", "length": 2000, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "提交内容", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "commit_content" }, { "objectType": "TableField_MYSQL", "name": "ref", "type": "varchar", "length": 128, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "分支", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "ref" }, { "objectType": "TableField_MYSQL", "name": "commit_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "提交时间", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "commit_date" }, { "objectType": "TableField_MYSQL", "name": "url", "type": "varchar", "length": 512, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "commit url", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "url" }, { "objectType": "TableField_MYSQL", "name": "object_version_number", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_number" }, { "objectType": "TableField_MYSQL", "name": "created_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_by" }, { "objectType": "TableField_MYSQL", "name": "creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "creation_date" }, { "objectType": "TableField_MYSQL", "name": "last_updated_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_updated_by" }, { "objectType": "TableField_MYSQL", "name": "last_update_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_update_date" } ], "indexes": [ { "objectType": "Index_MYSQL", "name": "uk_commit_sha_ref", "type": "UNIQUE", "method": "BTREE", "comment": "", "oldName": "", "online": false, "keyBlockSize": 0, "parser": "", "algorithm": "", "lock": "", "collation": "", "cardinality": "", "packed": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "commit_sha", "keyLength": 0, "order": "", "oldName": "" }, { "objectType": "IndexField_MYSQL", "name": "ref", "keyLength": 0, "order": "", "oldName": "" } ] }, { "objectType": "Index_MYSQL", "name": "idx_appid_commitdate", "type": "NORMAL", "method": "BTREE", "comment": "", "oldName": "", "online": false, "keyBlockSize": 0, "parser": "", "algorithm": "", "lock": "", "collation": "", "cardinality": "", "packed": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "app_service_id", "keyLength": 0, "order": "", "oldName": "" }, { "objectType": "IndexField_MYSQL", "name": "commit_date", "keyLength": 0, "order": "", "oldName": "" } ] } ], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [ { "objectType": "ForeignKey_MYSQL", "name": "fk_devops_gitlab_commit_devops_app_service_1", "fields": [ "app_service_id" ], "referenceSchema": "devops_service", "referenceTable": "devops_app_service", "referenceFields": [ "id" ], "onDelete": "", "onUpdate": "", "sourceCardinality": "ManyRelationship", "targetCardinality": "OneAndOnlyOneRelationship", "oldName": "" } ], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_gitlab_pipeline", "comment": "pipeline表", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 172733, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "pipeline_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "pipeline Id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "pipeline_id" }, { "objectType": "TableField_MYSQL", "name": "app_service_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "app_service_id" }, { "objectType": "TableField_MYSQL", "name": "pipeline_create_user_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "触发pipeline用户id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "pipeline_create_user_id" }, { "objectType": "TableField_MYSQL", "name": "commit_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "commit id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "commit_id" }, { "objectType": "TableField_MYSQL", "name": "status", "type": "varchar", "length": 32, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "pipeline状态", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "status" }, { "objectType": "TableField_MYSQL", "name": "stage", "type": "varchar", "length": 2000, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "pipeline阶段信息", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "stage" }, { "objectType": "TableField_MYSQL", "name": "pipeline_creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "pipeline开始时间", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "pipeline_creation_date" }, { "objectType": "TableField_MYSQL", "name": "object_version_number", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_number" }, { "objectType": "TableField_MYSQL", "name": "created_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_by" }, { "objectType": "TableField_MYSQL", "name": "creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "creation_date" }, { "objectType": "TableField_MYSQL", "name": "last_updated_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_updated_by" }, { "objectType": "TableField_MYSQL", "name": "last_update_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_update_date" } ], "indexes": [ { "objectType": "Index_MYSQL", "name": "pipeline_id", "type": "UNIQUE", "method": "BTREE", "comment": "", "oldName": "", "online": false, "keyBlockSize": 0, "parser": "", "algorithm": "", "lock": "", "collation": "", "cardinality": "", "packed": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "pipeline_id", "keyLength": 0, "order": "", "oldName": "" } ] }, { "objectType": "Index_MYSQL", "name": "idx_app_id", "type": "NORMAL", "method": "BTREE", "comment": "", "oldName": "", "online": false, "keyBlockSize": 0, "parser": "", "algorithm": "", "lock": "", "collation": "", "cardinality": "", "packed": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "app_service_id", "keyLength": 0, "order": "", "oldName": "" } ] }, { "objectType": "Index_MYSQL", "name": "idx_pipelineid_commitid", "type": "NORMAL", "method": "BTREE", "comment": "", "oldName": "", "online": false, "keyBlockSize": 0, "parser": "", "algorithm": "", "lock": "", "collation": "", "cardinality": "", "packed": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "pipeline_id", "keyLength": 0, "order": "", "oldName": "" }, { "objectType": "IndexField_MYSQL", "name": "commit_id", "keyLength": 0, "order": "", "oldName": "" } ] }, { "objectType": "Index_MYSQL", "name": "idx_commitid", "type": "NORMAL", "method": "BTREE", "comment": "", "oldName": "", "online": false, "keyBlockSize": 0, "parser": "", "algorithm": "", "lock": "", "collation": "", "cardinality": "", "packed": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "commit_id", "keyLength": 0, "order": "", "oldName": "" } ] } ], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [ { "objectType": "ForeignKey_MYSQL", "name": "fk_devops_gitlab_pipeline_devops_gitlab_commit_1", "fields": [ "commit_id" ], "referenceSchema": "devops_service", "referenceTable": "devops_gitlab_commit", "referenceFields": [ "id" ], "onDelete": "", "onUpdate": "", "sourceCardinality": "ManyRelationship", "targetCardinality": "OneAndOnlyOneRelationship", "oldName": "" }, { "objectType": "ForeignKey_MYSQL", "name": "fk_devops_gitlab_pipeline_devops_app_service_1", "fields": [ "app_service_id" ], "referenceSchema": "devops_service", "referenceTable": "devops_app_service", "referenceFields": [ "id" ], "onDelete": "", "onUpdate": "", "sourceCardinality": "ManyRelationship", "targetCardinality": "OneAndOnlyOneRelationship", "oldName": "" } ], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_harbor_user", "comment": "", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 2400, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "is_push", "type": "tinyint", "length": 3, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "是否有push权限", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "is_push" }, { "objectType": "TableField_MYSQL", "name": "harbor_project_user_name", "type": "varchar", "length": 50, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "项目下harbor用户的名称", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "harbor_project_user_name" }, { "objectType": "TableField_MYSQL", "name": "harbor_project_user_password", "type": "varchar", "length": 50, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "项目下harbor用户的密码", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "harbor_project_user_password" }, { "objectType": "TableField_MYSQL", "name": "harbor_project_user_email", "type": "varchar", "length": 50, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "项目下harbor用户的邮箱", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "harbor_project_user_email" }, { "objectType": "TableField_MYSQL", "name": "object_version_number", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_number" }, { "objectType": "TableField_MYSQL", "name": "created_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_by" }, { "objectType": "TableField_MYSQL", "name": "creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "creation_date" }, { "objectType": "TableField_MYSQL", "name": "last_updated_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_updated_by" }, { "objectType": "TableField_MYSQL", "name": "last_update_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_update_date" } ], "indexes": [], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_ingress_path", "comment": "域名路径", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 1642, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "ingress_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "域名", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "ingress_id" }, { "objectType": "TableField_MYSQL", "name": "path", "type": "varchar", "length": 64, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "路径", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "path" }, { "objectType": "TableField_MYSQL", "name": "service_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "网络ID", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "service_id" }, { "objectType": "TableField_MYSQL", "name": "service_name", "type": "varchar", "length": 253, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "网络名", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "service_name" }, { "objectType": "TableField_MYSQL", "name": "service_port", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "网络端口", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "service_port" }, { "objectType": "TableField_MYSQL", "name": "object_version_number", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_number" }, { "objectType": "TableField_MYSQL", "name": "created_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_by" }, { "objectType": "TableField_MYSQL", "name": "creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "creation_date" }, { "objectType": "TableField_MYSQL", "name": "last_updated_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_updated_by" }, { "objectType": "TableField_MYSQL", "name": "last_update_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_update_date" } ], "indexes": [], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [ { "objectType": "ForeignKey_MYSQL", "name": "fk_devops_ingress_path_devops_ingress_1", "fields": [ "ingress_id" ], "referenceSchema": "devops_service", "referenceTable": "devops_ingress", "referenceFields": [ "id" ], "onDelete": "", "onUpdate": "", "sourceCardinality": "ManyRelationship", "targetCardinality": "OneAndOnlyOneRelationship", "oldName": "" } ], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_merge_request", "comment": "应用关联的合并请求", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 79969, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "gitlab_project_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "gitlab项目Id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "gitlab_project_id" }, { "objectType": "TableField_MYSQL", "name": "gitlab_merge_request_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "merger_request_Id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "gitlab_merge_request_id" }, { "objectType": "TableField_MYSQL", "name": "source_branch", "type": "varchar", "length": 255, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "源分支", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "source_branch" }, { "objectType": "TableField_MYSQL", "name": "target_branch", "type": "varchar", "length": 255, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "目标分支", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "target_branch" }, { "objectType": "TableField_MYSQL", "name": "author_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "创建者id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "author_id" }, { "objectType": "TableField_MYSQL", "name": "assignee_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "审查人Id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "assignee_id" }, { "objectType": "TableField_MYSQL", "name": "state", "type": "varchar", "length": 20, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "状态", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "state" }, { "objectType": "TableField_MYSQL", "name": "title", "type": "varchar", "length": 255, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "标题", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "title" }, { "objectType": "TableField_MYSQL", "name": "created_at", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_at" }, { "objectType": "TableField_MYSQL", "name": "updated_at", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "updated_at" }, { "objectType": "TableField_MYSQL", "name": "object_version_number", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_number" }, { "objectType": "TableField_MYSQL", "name": "created_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_by" }, { "objectType": "TableField_MYSQL", "name": "creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "creation_date" }, { "objectType": "TableField_MYSQL", "name": "last_updated_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_updated_by" }, { "objectType": "TableField_MYSQL", "name": "last_update_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_update_date" } ], "indexes": [ { "objectType": "Index_MYSQL", "name": "idx_project_request", "type": "UNIQUE", "method": "BTREE", "comment": "", "oldName": "", "online": false, "keyBlockSize": 0, "parser": "", "algorithm": "", "lock": "", "collation": "", "cardinality": "", "packed": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "gitlab_project_id", "keyLength": 0, "order": "", "oldName": "" }, { "objectType": "IndexField_MYSQL", "name": "gitlab_merge_request_id", "keyLength": 0, "order": "", "oldName": "" } ] }, { "objectType": "Index_MYSQL", "name": "idx_app_source_target_branch", "type": "NORMAL", "method": "BTREE", "comment": "", "oldName": "", "online": false, "keyBlockSize": 0, "parser": "", "algorithm": "", "lock": "", "collation": "", "cardinality": "", "packed": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "gitlab_project_id", "keyLength": 0, "order": "", "oldName": "" }, { "objectType": "IndexField_MYSQL", "name": "source_branch", "keyLength": 0, "order": "", "oldName": "" }, { "objectType": "IndexField_MYSQL", "name": "target_branch", "keyLength": 0, "order": "", "oldName": "" } ] } ], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_notification", "comment": "通知设置", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 438, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "project_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "项目ID", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "project_id" }, { "objectType": "TableField_MYSQL", "name": "env_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "环境 ID", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "env_id" }, { "objectType": "TableField_MYSQL", "name": "notify_type", "type": "varchar", "length": 64, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "通知方式", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "notify_type" }, { "objectType": "TableField_MYSQL", "name": "notify_object", "type": "varchar", "length": 64, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "通知对象", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "notify_object" }, { "objectType": "TableField_MYSQL", "name": "notify_trigger_event", "type": "varchar", "length": 64, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "触发事件", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "notify_trigger_event" }, { "objectType": "TableField_MYSQL", "name": "object_version_number", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_number" }, { "objectType": "TableField_MYSQL", "name": "created_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_by" }, { "objectType": "TableField_MYSQL", "name": "creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "creation_date" }, { "objectType": "TableField_MYSQL", "name": "last_updated_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_updated_by" }, { "objectType": "TableField_MYSQL", "name": "last_update_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_update_date" }, { "objectType": "TableField_MYSQL", "name": "is_send_email", "type": "tinyint", "length": 3, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "是否发送邮件", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "is_send_email" }, { "objectType": "TableField_MYSQL", "name": "is_send_sms", "type": "tinyint", "length": 3, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "是否发送短信", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "is_send_sms" }, { "objectType": "TableField_MYSQL", "name": "is_send_pm", "type": "tinyint", "length": 3, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "是否发送站内信", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "is_send_pm" }, { "objectType": "TableField_MYSQL", "name": "is_default_setting", "type": "tinyint", "length": 3, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "是否是默认设置", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "is_default_setting" } ], "indexes": [], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [ { "objectType": "ForeignKey_MYSQL", "name": "fk_devops_notification_devops_project_1", "fields": [ "project_id" ], "referenceSchema": "devops_service", "referenceTable": "devops_project", "referenceFields": [ "iam_project_id" ], "onDelete": "", "onUpdate": "", "sourceCardinality": "ManyRelationship", "targetCardinality": "OneAndOnlyOneRelationship", "oldName": "" } ], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_notification_user_rel", "comment": "通知设置", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 0, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "notification_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "通知Id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "notification_id" }, { "objectType": "TableField_MYSQL", "name": "user_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "用户Id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "user_id" }, { "objectType": "TableField_MYSQL", "name": "user_type", "type": "varchar", "length": 64, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "用户类型", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "user_type" } ], "indexes": [], "foreignKeys": [ { "objectType": "ForeignKey_MYSQL", "name": "fk_devops_notification_user_rel_devops_notification_1", "fields": [ "notification_id" ], "referenceSchema": "devops_service", "referenceTable": "devops_notification", "referenceFields": [ "id" ], "onDelete": "", "onUpdate": "", "sourceCardinality": "ManyRelationship", "targetCardinality": "OneAndOnlyOneRelationship", "oldName": "" } ], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_pipeline", "comment": "流水线", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 199, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "name", "type": "varchar", "length": 50, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "名称", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "name" }, { "objectType": "TableField_MYSQL", "name": "trigger_type", "type": "varchar", "length": 10, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "触发方式", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "trigger_type" }, { "objectType": "TableField_MYSQL", "name": "project_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "项目ID", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "project_id" }, { "objectType": "TableField_MYSQL", "name": "object_version_number", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_number" }, { "objectType": "TableField_MYSQL", "name": "created_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_by" }, { "objectType": "TableField_MYSQL", "name": "creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "creation_date" }, { "objectType": "TableField_MYSQL", "name": "last_updated_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_updated_by" }, { "objectType": "TableField_MYSQL", "name": "last_update_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_update_date" }, { "objectType": "TableField_MYSQL", "name": "is_enabled", "type": "tinyint", "length": 3, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "是否启用", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "is_enabled" } ], "indexes": [ { "objectType": "Index_MYSQL", "name": "idx_project_id", "type": "NORMAL", "method": "BTREE", "comment": "", "oldName": "", "online": false, "keyBlockSize": 0, "parser": "", "algorithm": "", "lock": "", "collation": "", "cardinality": "", "packed": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "project_id", "keyLength": 0, "order": "", "oldName": "" } ] } ], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_pipeline_app_service_deploy", "comment": "流水线应用部署", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 270, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "app_service_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "app_service_id" }, { "objectType": "TableField_MYSQL", "name": "env_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "环境Id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "env_id" }, { "objectType": "TableField_MYSQL", "name": "value_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "valueId", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "value_id" }, { "objectType": "TableField_MYSQL", "name": "project_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "项目ID", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "project_id" }, { "objectType": "TableField_MYSQL", "name": "instance_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "实例ID", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "instance_id" }, { "objectType": "TableField_MYSQL", "name": "trigger_version", "type": "varchar", "length": 100, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "触发版本", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "trigger_version" }, { "objectType": "TableField_MYSQL", "name": "instance_name", "type": "varchar", "length": 50, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "实例名称", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "instance_name" }, { "objectType": "TableField_MYSQL", "name": "object_version_number", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_number" }, { "objectType": "TableField_MYSQL", "name": "created_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_by" }, { "objectType": "TableField_MYSQL", "name": "creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "creation_date" }, { "objectType": "TableField_MYSQL", "name": "last_updated_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_updated_by" }, { "objectType": "TableField_MYSQL", "name": "last_update_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_update_date" } ], "indexes": [], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [ { "objectType": "ForeignKey_MYSQL", "name": "fk_devops_pipeline_app_service_deploy_devops_deploy_value_1", "fields": [ "value_id" ], "referenceSchema": "devops_service", "referenceTable": "devops_deploy_value", "referenceFields": [ "id" ], "onDelete": "", "onUpdate": "", "sourceCardinality": "OneAndOnlyOneRelationship", "targetCardinality": "OneAndOnlyOneRelationship", "oldName": "" } ], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_pipeline_record", "comment": "流水线记录", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 8509, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "pipeline_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "流水线Id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "pipeline_id" }, { "objectType": "TableField_MYSQL", "name": "pipeline_name", "type": "varchar", "length": 64, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "pipeline name", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "pipeline_name" }, { "objectType": "TableField_MYSQL", "name": "project_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "项目Id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "project_id" }, { "objectType": "TableField_MYSQL", "name": "audit_user", "type": "varchar", "length": 255, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "审核人员", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "audit_user" }, { "objectType": "TableField_MYSQL", "name": "error_info", "type": "varchar", "length": 255, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "错误信息", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "error_info" }, { "objectType": "TableField_MYSQL", "name": "status", "type": "varchar", "length": 20, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "状态", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "status" }, { "objectType": "TableField_MYSQL", "name": "trigger_type", "type": "varchar", "length": 10, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "触发方式", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "trigger_type" }, { "objectType": "TableField_MYSQL", "name": "bpm_definition", "type": "text", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "bpm定义", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "bpm_definition" }, { "objectType": "TableField_MYSQL", "name": "business_key", "type": "varchar", "length": 255, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "流程实例", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "business_key" }, { "objectType": "TableField_MYSQL", "name": "edited", "type": "tinyint", "length": 3, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "是否编辑", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "edited" }, { "objectType": "TableField_MYSQL", "name": "object_version_number", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_number" }, { "objectType": "TableField_MYSQL", "name": "created_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_by" }, { "objectType": "TableField_MYSQL", "name": "creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "creation_date" }, { "objectType": "TableField_MYSQL", "name": "last_updated_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_updated_by" }, { "objectType": "TableField_MYSQL", "name": "last_update_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_update_date" } ], "indexes": [ { "objectType": "Index_MYSQL", "name": "idx_project_id", "type": "NORMAL", "method": "BTREE", "comment": "", "oldName": "", "online": false, "keyBlockSize": 0, "parser": "", "algorithm": "", "lock": "", "collation": "", "cardinality": "", "packed": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "project_id", "keyLength": 0, "order": "", "oldName": "" } ] } ], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [ { "objectType": "ForeignKey_MYSQL", "name": "fk_devops_pipeline_record_devops_pipeline_1", "fields": [ "pipeline_id" ], "referenceSchema": "devops_service", "referenceTable": "devops_pipeline", "referenceFields": [ "id" ], "onDelete": "", "onUpdate": "", "sourceCardinality": "ManyRelationship", "targetCardinality": "OneAndOnlyOneRelationship", "oldName": "" } ], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_pipeline_stage", "comment": "阶段", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 211, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "stage_name", "type": "varchar", "length": 50, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "名称", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "stage_name" }, { "objectType": "TableField_MYSQL", "name": "trigger_type", "type": "varchar", "length": 10, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "触发方式", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "trigger_type" }, { "objectType": "TableField_MYSQL", "name": "is_parallel", "type": "tinyint", "length": 3, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "是否并行", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "is_parallel" }, { "objectType": "TableField_MYSQL", "name": "project_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "项目ID", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "project_id" }, { "objectType": "TableField_MYSQL", "name": "pipeline_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "工作台Id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "pipeline_id" }, { "objectType": "TableField_MYSQL", "name": "object_version_number", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_number" }, { "objectType": "TableField_MYSQL", "name": "created_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_by" }, { "objectType": "TableField_MYSQL", "name": "creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "creation_date" }, { "objectType": "TableField_MYSQL", "name": "last_updated_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_updated_by" }, { "objectType": "TableField_MYSQL", "name": "last_update_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_update_date" } ], "indexes": [], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [ { "objectType": "ForeignKey_MYSQL", "name": "fk_devops_pipeline_stage_devops_pipeline_1", "fields": [ "pipeline_id" ], "referenceSchema": "devops_service", "referenceTable": "devops_pipeline", "referenceFields": [ "id" ], "onDelete": "", "onUpdate": "", "sourceCardinality": "ManyRelationship", "targetCardinality": "OneAndOnlyOneRelationship", "oldName": "" } ], "triggers": [], "tablePartitions": [] }, { "objectType": "Table_MYSQL", "name": "devops_pipeline_stage_record", "comment": "阶段", "engine": "InnoDB", "characterSet": "utf8", "collation": "utf8_general_ci", "autoIncrement": 8524, "tablespace": "", "storage": "", "insertMethod": "", "connection": "", "checksum": false, "rowFormat": "Dynamic", "avgRowLength": 0, "maxRows": 0, "minRows": 0, "keyBlockSize": 0, "packKeys": "", "delayKeyWrite": false, "dataDirectory": "", "indexDirectory": "", "statsAutoRecalc": "", "statsPersistent": "", "statsSamplePages": 0, "union": "", "pageCheckSum": false, "transactional": false, "compression": "", "oldName": "", "encryption": false, "createOptions": "", "createTime": "", "checkTime": "", "dataFree": 0, "dataLength": 0, "indexLength": 0, "maxDataLength": 0, "rows": 0, "updateTime": "", "DDL": "", "partitionBy": "", "partitionByExpr": "", "partitions": 0, "partitionKeyAlgorithm": "", "subPartitionBy": "", "subPartitionByExpr": "", "subPartitions": 0, "subPartitionKeyAlgorithm": "", "fields": [ { "objectType": "TableField_MYSQL", "name": "id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": false, "defaultType": "Others", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": true, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "id" }, { "objectType": "TableField_MYSQL", "name": "pipeline_record_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "工作台记录Id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "pipeline_record_id" }, { "objectType": "TableField_MYSQL", "name": "stage_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "阶段Id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "stage_id" }, { "objectType": "TableField_MYSQL", "name": "status", "type": "varchar", "length": 20, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "状态", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "status" }, { "objectType": "TableField_MYSQL", "name": "trigger_type", "type": "varchar", "length": 10, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "触发方式", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "trigger_type" }, { "objectType": "TableField_MYSQL", "name": "is_parallel", "type": "tinyint", "length": 3, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "是否并行", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "is_parallel" }, { "objectType": "TableField_MYSQL", "name": "execution_time", "type": "varchar", "length": 255, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_bin", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "execution_time" }, { "objectType": "TableField_MYSQL", "name": "project_id", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "项目Id", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "project_id" }, { "objectType": "TableField_MYSQL", "name": "audit_user", "type": "varchar", "length": 255, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "审核人员", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "audit_user" }, { "objectType": "TableField_MYSQL", "name": "object_version_number", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "1", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "object_version_number" }, { "objectType": "TableField_MYSQL", "name": "created_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "created_by" }, { "objectType": "TableField_MYSQL", "name": "creation_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "creation_date" }, { "objectType": "TableField_MYSQL", "name": "last_updated_by", "type": "bigint", "length": 20, "decimals": -2147483648, "isUnsigned": true, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "0", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_updated_by" }, { "objectType": "TableField_MYSQL", "name": "last_update_date", "type": "datetime", "length": -2147483648, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "", "collation": "", "isNullable": true, "defaultType": "Others", "defaultValue": "CURRENT_TIMESTAMP", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "last_update_date" }, { "objectType": "TableField_MYSQL", "name": "stage_name", "type": "varchar", "length": 50, "decimals": -2147483648, "isUnsigned": false, "isZeroFill": false, "setEnumValues": "", "isBinary": false, "charset": "utf8", "collation": "utf8_general_ci", "isNullable": true, "defaultType": "Null", "defaultValue": "", "isOnUpdateCurrentTimestamp": false, "isAutoInc": false, "comment": "阶段名称", "columnFormat": "Default", "storage": "", "isVirtual": false, "isGeneratedAlways": false, "virtualExpr": "", "virtualType": "", "oldName": "stage_name" } ], "indexes": [ { "objectType": "Index_MYSQL", "name": "idx_pipeline_record_id", "type": "NORMAL", "method": "BTREE", "comment": "", "oldName": "", "online": false, "keyBlockSize": 0, "parser": "", "algorithm": "", "lock": "", "collation": "", "cardinality": "", "packed": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "pipeline_record_id", "keyLength": 0, "order": "", "oldName": "" } ] } ], "primaryKey": { "objectType": "PrimaryKey_MYSQL", "name": "", "fields": [ { "objectType": "IndexField_MYSQL", "name": "id", "keyLength": 0, "order": "", "oldName": "" } ], "oldName": "", "indexMethod": "", "comment": "" }, "foreignKeys": [ { "objectType": "ForeignKey_MYSQL", "name": "fk_devops_pipeline_stage_record_devops_pipeline_record_1", "fields": [ "pipeline_record_id" ], "referenceSchema": "devops_service", "referenceTable": "devops_pipeline_record", "referenceFields": [ "id" ], "onDelete": "", "onUpdate": "", "sourceCardinality": "ManyRelationship", "targetCardinality": "OneAndOnlyOneRelationship", "oldName": "" }, { "objectType": "ForeignKey_MYSQL", "name": "fk_devops_pipeline_stage_record_devops_pipeline_stage_1", "fields": [ "stage_id" ], "referenceSchema": "devops_service", "referenceTable": "devops_pipeline_stage", "referenceFields": [ "id" ], "onDelete": "", "onUpdate": "",