MySQL Create Table SQL
Table Structure: okayapi_cloud_image_log:/tablelist/okayapi_cloud_image_log.html
-- MySQL Table okayapi_cloud_image_log
-- From: OkayAPI.com
CREATE TABLE `okayapi_cloud_image_log` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`create_time` varchar(32) NULL COMMENT '操作时间',
`create_user` varchar(32) NULL COMMENT '操作人',
`okayapi_cloud_image_log_name` varchar(100) NULL COMMENT '镜像名称',
`repositories` varchar(100) NULL COMMENT '所属仓库',
`cluster_name` varchar(100) NULL COMMENT '所属集群',
`repositories_group` varchar(100) NULL COMMENT '镜像仓库组',
`oper_type` varchar(20) NULL COMMENT '镜像获取类型,pull,create,push',
`label` varchar(120) NULL COMMENT '标签名称',
`ip` varchar(32) NULL COMMENT '操作Ip',
KEY `create_time` (`create_time`),
KEY `create_user` (`create_user`),
KEY `okayapi_cloud_image_log_name` (`okayapi_cloud_image_log_name`),
KEY `repositories` (`repositories`),
KEY `cluster_name` (`cluster_name`),
KEY `repositories_group` (`repositories_group`),
KEY `oper_type` (`oper_type`),
KEY `label` (`label`),
KEY `ip` (`ip`),
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-9 of 9 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
create_time | varchar(32) | 是 | 操作时间 | |||
create_user | varchar(32) | 是 | 操作人 | |||
okayapi_cloud_image_log_name | varchar(100) | 是 | 镜像名称 | |||
repositories | varchar(100) | 是 | 所属仓库 | |||
cluster_name | varchar(100) | 是 | 所属集群 | |||
repositories_group | varchar(100) | 是 | 镜像仓库组 | |||
oper_type | varchar(20) | 是 | 镜像获取类型,pull,create,push | |||
label | varchar(120) | 是 | 标签名称 | |||
ip | varchar(32) | 是 | 操作Ip |