MySQL Create Table SQL
Table Structure: okayapi_cloud_ci_release_history:/tablelist/okayapi_cloud_ci_release_history.html
-- MySQL Table okayapi_cloud_ci_release_history
-- From: OkayAPI.com
CREATE TABLE `okayapi_cloud_ci_release_history` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`create_time` varchar(32) NULL COMMENT '创建时间',
`create_user` varchar(32) NULL COMMENT '创建用户',
`domain` varchar(100) NULL COMMENT '域名',
`service_name` varchar(100) NULL COMMENT '服务名称',
`cluster_name` varchar(100) NULL COMMENT '集群名称',
`app_name` varchar(100) NULL COMMENT '应用名称',
`entname` varchar(100) NULL COMMENT '环境名称',
`description` varchar(400) NULL COMMENT '',
`release_online_type` varchar(32) NULL COMMENT '发布类型',
`release_bug_description` varchar(232) NULL COMMENT 'Bug修复功能描述',
`release_demand_description` varchar(232) NULL COMMENT '需求名称',
`release_item_description` varchar(232) NULL COMMENT '项目名称',
`release_bug_pm_link` varchar(232) NULL COMMENT '禅道Bug链接',
`release_job_pm_link` varchar(232) NULL COMMENT '禅道任务链接',
`release_test_user` varchar(32) NULL COMMENT '测试人员',
`release_type` varchar(100) NULL COMMENT '发布类型,金丝雀,蓝绿,滚动',
`image_name` varchar(200) NULL COMMENT '镜像名称',
`okayapi_cloud_ci_release_history_status` varchar(32) NULL COMMENT '发布状态',
`service_id` int(11) NULL COMMENT '',
`auto_switch` varchar(5) NULL COMMENT '自动切换',
`lb_version` varchar(10) NULL COMMENT '',
`release_version` varchar(3) NULL COMMENT '发布版本',
`okayapi_cloud_ci_release_history_action` varchar(13) NULL COMMENT '发布或回滚,update,rollback',
`percent` int(11) NULL COMMENT '流量切入百分比',
`old_images` varchar(200) NULL COMMENT '旧的版本',
KEY `create_time` (`create_time`),
KEY `create_user` (`create_user`),
KEY `domain` (`domain`),
KEY `service_name` (`service_name`),
KEY `cluster_name` (`cluster_name`),
KEY `app_name` (`app_name`),
KEY `entname` (`entname`),
KEY `description` (`description`),
KEY `release_online_type` (`release_online_type`),
KEY `release_bug_description` (`release_bug_description`),
KEY `release_demand_description` (`release_demand_description`),
KEY `release_item_description` (`release_item_description`),
KEY `release_bug_pm_link` (`release_bug_pm_link`),
KEY `release_job_pm_link` (`release_job_pm_link`),
KEY `release_test_user` (`release_test_user`),
KEY `release_type` (`release_type`),
KEY `image_name` (`image_name`),
KEY `okayapi_cloud_ci_release_history_status` (`okayapi_cloud_ci_release_history_status`),
KEY `service_id` (`service_id`),
KEY `auto_switch` (`auto_switch`),
KEY `lb_version` (`lb_version`),
KEY `release_version` (`release_version`),
KEY `okayapi_cloud_ci_release_history_action` (`okayapi_cloud_ci_release_history_action`),
KEY `percent` (`percent`),
KEY `old_images` (`old_images`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'k8s管理-持续集成发布历史';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-25 of 25 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
create_time | varchar(32) | 是 | 创建时间 | |||
create_user | varchar(32) | 是 | 创建用户 | |||
domain | varchar(100) | 是 | 域名 | |||
service_name | varchar(100) | 是 | 服务名称 | |||
cluster_name | varchar(100) | 是 | 集群名称 | |||
app_name | varchar(100) | 是 | 应用名称 | |||
entname | varchar(100) | 是 | 环境名称 | |||
description | varchar(400) | 是 | ||||
release_online_type | varchar(32) | 是 | 发布类型 | |||
release_bug_description | varchar(232) | 是 | Bug修复功能描述 | |||
release_demand_description | varchar(232) | 是 | 需求名称 | |||
release_item_description | varchar(232) | 是 | 项目名称 | |||
release_bug_pm_link | varchar(232) | 是 | 禅道Bug链接 | |||
release_job_pm_link | varchar(232) | 是 | 禅道任务链接 | |||
release_test_user | varchar(32) | 是 | 测试人员 | |||
release_type | varchar(100) | 是 | 发布类型,金丝雀,蓝绿,滚动 | |||
image_name | varchar(200) | 是 | 镜像名称 | |||
okayapi_cloud_ci_release_history_status | varchar(32) | 是 | 发布状态 | |||
service_id | int(11) | 是 | ||||
auto_switch | varchar(5) | 是 | 自动切换 | |||
lb_version | varchar(10) | 是 | ||||
release_version | varchar(3) | 是 | 发布版本 | |||
okayapi_cloud_ci_release_history_action | varchar(13) | 是 | 发布或回滚,update,rollback | |||
percent | int(11) | 是 | 流量切入百分比 | |||
old_images | varchar(200) | 是 | 旧的版本 |