+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_cloud_build_job:/tablelist/okayapi_cloud_build_job.html


-- MySQL Table okayapi_cloud_build_job
-- From: OkayAPI.com
CREATE TABLE `okayapi_cloud_build_job` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `job_name` varchar(100) NULL COMMENT '任务计划名称',
    `job_code` int(11) NULL COMMENT '参考code代码仓库',
    `docker_file` varchar(100) 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 '创建用户',
    `last_modify_time` varchar(32) NULL COMMENT '最近修改时间',
    `last_modify_user` varchar(32) NULL COMMENT '最近修改用户',
    `build_id` varchar(100) NULL COMMENT 'build时k8s.job名称',
    `last_build_time` varchar(32) NULL COMMENT '最近构建时间',
    `build_status` varchar(32) NULL COMMENT '构建状态',
    `description` varchar(100) NULL COMMENT '',
    `content` text NULL COMMENT 'dockerfile数据',
    `script` text NULL COMMENT '构建脚本',
    `time_out` int(11) NULL COMMENT '构建超时时间,最大3600秒,最小10秒',
    `last_tag` varchar(50) NULL COMMENT '最新tag',
    `base_image` varchar(200) NULL COMMENT '基础镜像,里面应该运行docker服务',
    `env` varchar(4096) NULL COMMENT '构建时环境变量',
    KEY `job_name` (`job_name`),
    KEY `job_code` (`job_code`),
    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 `last_modify_time` (`last_modify_time`),
    KEY `last_modify_user` (`last_modify_user`),
    KEY `build_id` (`build_id`),
    KEY `last_build_time` (`last_build_time`),
    KEY `build_status` (`build_status`),
    KEY `description` (`description`),
    KEY `content` (`content`),
    KEY `script` (`script`),
    KEY `time_out` (`time_out`),
    KEY `last_tag` (`last_tag`),
    KEY `base_image` (`base_image`),
    KEY `env` (`env`),
    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-21 of 21 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
job_namevarchar(100)任务计划名称
job_codeint(11)参考code代码仓库
docker_filevarchar(100)
registry_servervarchar(100)注册服务器
item_namevarchar(100)项目名称Unique Index
image_tagvarchar(100)镜像tag
cluster_namevarchar(100)集群名称
create_timevarchar(32)创建时间
create_uservarchar(32)创建用户
last_modify_timevarchar(32)最近修改时间
last_modify_uservarchar(32)最近修改用户
build_idvarchar(100)build时k8s.job名称
last_build_timevarchar(32)最近构建时间
build_statusvarchar(32)构建状态
descriptionvarchar(100)
contenttextdockerfile数据
scripttext构建脚本
time_outint(11)构建超时时间,最大3600秒,最小10秒
last_tagvarchar(50)最新tag
base_imagevarchar(200)基础镜像,里面应该运行docker服务
envvarchar(4096)构建时环境变量

Guess You Like

MySQL Table Design okayapi_cloud_api_resource

MySQL Table Design okayapi_cloud_app

MySQL Table Design okayapi_cloud_app_configure

MySQL Table Design okayapi_cloud_app_service

MySQL Table Design okayapi_log_show_appname

MySQL Table Design okayapi_log_show_ip

MySQL Table Design okayapi_log_show_filter

MySQL Table Design okayapi_log_data_source

MySQL Table Design okayapi_log_show_history

MySQL Table Design okayapi_cloud_app_template

MySQL Table Design okayapi_cloud_authority_user

MySQL Table Design okayapi_cloud_auto_scale

MySQL Table Design okayapi_cloud_auto_scale_log

MySQL Table Design okayapi_cloud_build_job_history

MySQL Table Design okayapi_cloud_ci_dockerfile

MySQL Table Design okayapi_cloud_ci_perm

MySQL Table Design okayapi_cloud_ci_release_history

MySQL Table Design okayapi_cloud_ci_release_log

MySQL Table Design okayapi_cloud_ci_service

MySQL Table Design okayapi_cloud_cluster

TOP ↑