MySQL Create Table SQL
Table Structure: okayapi_cloud_build_job_history:/tablelist/okayapi_cloud_build_job_history.html
-- MySQL Table okayapi_cloud_build_job_history
-- From: OkayAPI.com
CREATE TABLE `okayapi_cloud_build_job_history` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`job_name` varchar(100) NULL COMMENT '任务计划名称',
`job_id` int(11) NULL COMMENT '参考job表ID',
`docker_file` text NULL COMMENT '',
`registry_server` varchar(100) NULL COMMENT '注册服务器',
`item_name` varchar(100) NULL COMMENT '项目名称',
`image_tag` varchar(100) NULL COMMENT '镜像tag',
`cluster_name` varchar(100) NULL COMMENT '集群名称',
`create_time` varchar(32) NULL COMMENT '创建时间',
`create_user` varchar(32) NULL COMMENT '创建用户',
`build_status` varchar(32) NULL COMMENT '构建状态',
`build_time` int(11) NULL COMMENT '构建时间',
`build_logs` mediumtext NULL COMMENT '构建日志',
`script` text NULL COMMENT '构建脚本',
`registry_group` varchar(100) NULL COMMENT '仓库组',
`base_image` varchar(200) NULL COMMENT '基础镜像,里面应该运行docker服务',
KEY `job_name` (`job_name`),
KEY `job_id` (`job_id`),
KEY `docker_file` (`docker_file`),
KEY `registry_server` (`registry_server`),
KEY `item_name` (`item_name`),
KEY `image_tag` (`image_tag`),
KEY `cluster_name` (`cluster_name`),
KEY `create_time` (`create_time`),
KEY `create_user` (`create_user`),
KEY `build_status` (`build_status`),
KEY `build_time` (`build_time`),
KEY `build_logs` (`build_logs`),
KEY `script` (`script`),
KEY `registry_group` (`registry_group`),
KEY `base_image` (`base_image`),
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-15 of 15 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
job_name | varchar(100) | 是 | 任务计划名称 | |||
job_id | int(11) | 是 | 参考job表ID | |||
docker_file | text | 是 | ||||
registry_server | varchar(100) | 是 | 注册服务器 | |||
item_name | varchar(100) | 是 | 项目名称 | |||
image_tag | varchar(100) | 是 | 镜像tag | |||
cluster_name | varchar(100) | 是 | 集群名称 | |||
create_time | varchar(32) | 是 | 创建时间 | |||
create_user | varchar(32) | 是 | 创建用户 | |||
build_status | varchar(32) | 是 | 构建状态 | |||
build_time | int(11) | 是 | 构建时间 | |||
build_logs | mediumtext | 是 | 构建日志 | |||
script | text | 是 | 构建脚本 | |||
registry_group | varchar(100) | 是 | 仓库组 | |||
base_image | varchar(200) | 是 | 基础镜像,里面应该运行docker服务 |