MySQL Create Table SQL
Table Structure: okayapi_log_data_source:/tablelist/okayapi_log_data_source.html
-- MySQL Table okayapi_log_data_source
-- From: OkayAPI.com
CREATE TABLE `okayapi_log_data_source` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`create_user` varchar(32) NULL COMMENT '',
`okayapi_log_data_source_name` varchar(132) NULL COMMENT '数据源名称',
`address` varchar(232) NULL COMMENT '数据源地址',
`description` varchar(300) NULL COMMENT ' 描述信息',
`create_time` varchar(32) NULL COMMENT '',
`cluster_name` varchar(232) NULL COMMENT '',
`driver_type` varchar(232) NULL COMMENT '数据驱动类型,有es,kafka',
`data_type` varchar(232) NULL COMMENT '日志读取或者写入',
`ent` varchar(132) NULL COMMENT '',
KEY `create_user` (`create_user`),
KEY `okayapi_log_data_source_name` (`okayapi_log_data_source_name`),
KEY `address` (`address`),
KEY `description` (`description`),
KEY `create_time` (`create_time`),
KEY `cluster_name` (`cluster_name`),
KEY `driver_type` (`driver_type`),
KEY `data_type` (`data_type`),
KEY `ent` (`ent`),
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_user | varchar(32) | 是 | ||||
okayapi_log_data_source_name | varchar(132) | 是 | 数据源名称 | |||
address | varchar(232) | 是 | 数据源地址 | |||
description | varchar(300) | 是 | 描述信息 | |||
create_time | varchar(32) | 是 | ||||
cluster_name | varchar(232) | 是 | ||||
driver_type | varchar(232) | 是 | 数据驱动类型,有es,kafka | |||
data_type | varchar(232) | 是 | 日志读取或者写入 | |||
ent | varchar(132) | 是 |