MySQL Create Table SQL
Table Structure: okayapi_cloud_image_sync_log:/tablelist/okayapi_cloud_image_sync_log.html
-- MySQL Table okayapi_cloud_image_sync_log
-- From: OkayAPI.com
CREATE TABLE `okayapi_cloud_image_sync_log` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`create_time` varchar(32) NULL COMMENT '创建时间',
`messages` text NULL COMMENT '执行内容',
`create_user` varchar(32) NULL COMMENT '创建用户',
`runtime` int(11) NULL COMMENT '程序运行时间',
`registry_group` varchar(32) NULL COMMENT '镜像仓库组',
`registry_server_1` varchar(100) NULL COMMENT '',
`registry_server_2` varchar(100) NULL COMMENT '',
`item_name` varchar(100) NULL COMMENT '项目名称',
`version` varchar(100) NULL COMMENT '镜像同步日志',
`okayapi_cloud_image_sync_log_status` varchar(10) NULL COMMENT '同步状态',
KEY `create_time` (`create_time`),
KEY `messages` (`messages`),
KEY `create_user` (`create_user`),
KEY `runtime` (`runtime`),
KEY `registry_group` (`registry_group`),
KEY `registry_server_1` (`registry_server_1`),
KEY `registry_server_2` (`registry_server_2`),
KEY `item_name` (`item_name`),
KEY `version` (`version`),
KEY `okayapi_cloud_image_sync_log_status` (`okayapi_cloud_image_sync_log_status`),
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-10 of 10 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
create_time | varchar(32) | 是 | 创建时间 | |||
messages | text | 是 | 执行内容 | |||
create_user | varchar(32) | 是 | 创建用户 | |||
runtime | int(11) | 是 | 程序运行时间 | |||
registry_group | varchar(32) | 是 | 镜像仓库组 | |||
registry_server_1 | varchar(100) | 是 | ||||
registry_server_2 | varchar(100) | 是 | ||||
item_name | varchar(100) | 是 | 项目名称 | |||
version | varchar(100) | 是 | 镜像同步日志 | |||
okayapi_cloud_image_sync_log_status | varchar(10) | 是 | 同步状态 |