+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_cloud_lb:/tablelist/okayapi_cloud_lb.html


-- MySQL Table okayapi_cloud_lb
-- From: OkayAPI.com
CREATE TABLE `okayapi_cloud_lb` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `lb_name` varchar(36) NULL COMMENT '负载均衡名称',
    `lb_ip` text NULL COMMENT 'IP地址',
    `lb_type` varchar(36) NULL COMMENT '负载均衡类型,nginx,haproxy',
    `lb_domain_prefix` varchar(36) NULL COMMENT '域名前缀',
    `lb_domain_suffix` varchar(36) NULL COMMENT '域名后缀',
    `description` varchar(300) NULL COMMENT '配额描述信息',
    `create_time` varchar(32) NULL COMMENT '创建时间',
    `create_user` varchar(32) NULL COMMENT '创建用户',
    `cluster_name` varchar(36) NULL COMMENT '集群名称',
    `resource_name` varchar(36) NULL COMMENT '资源空间',
    `last_modify_time` varchar(32) NULL COMMENT '最近修改时间',
    `last_modify_user` varchar(32) NULL COMMENT '最近修改用户',
    `okayapi_cloud_lb_status` varchar(32) NULL COMMENT '',
    `service_number` int(11) NULL COMMENT '',
    `entname` varchar(32) NULL COMMENT '环境名称',
    `host_log_path` varchar(100) NULL COMMENT 'log mount path',
    `okayapi_cloud_lb_cpu` varchar(10) NULL DEFAULT '2' COMMENT 'cpu',
    `okayapi_cloud_lb_memory` varchar(10) NULL DEFAULT '4096' COMMENT 'memory',
    KEY `lb_name` (`lb_name`),
    KEY `lb_ip` (`lb_ip`),
    KEY `lb_type` (`lb_type`),
    KEY `lb_domain_prefix` (`lb_domain_prefix`),
    KEY `lb_domain_suffix` (`lb_domain_suffix`),
    KEY `description` (`description`),
    KEY `create_time` (`create_time`),
    KEY `create_user` (`create_user`),
    KEY `cluster_name` (`cluster_name`),
    KEY `resource_name` (`resource_name`),
    KEY `last_modify_time` (`last_modify_time`),
    KEY `last_modify_user` (`last_modify_user`),
    KEY `okayapi_cloud_lb_status` (`okayapi_cloud_lb_status`),
    KEY `service_number` (`service_number`),
    KEY `entname` (`entname`),
    KEY `host_log_path` (`host_log_path`),
    KEY `okayapi_cloud_lb_cpu` (`okayapi_cloud_lb_cpu`),
    KEY `okayapi_cloud_lb_memory` (`okayapi_cloud_lb_memory`),
    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-18 of 18 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
lb_namevarchar(36)负载均衡名称
lb_iptextIP地址
lb_typevarchar(36)负载均衡类型,nginx,haproxy
lb_domain_prefixvarchar(36)域名前缀
lb_domain_suffixvarchar(36)域名后缀
descriptionvarchar(300)配额描述信息
create_timevarchar(32)创建时间
create_uservarchar(32)创建用户
cluster_namevarchar(36)集群名称
resource_namevarchar(36)资源空间
last_modify_timevarchar(32)最近修改时间
last_modify_uservarchar(32)最近修改用户
okayapi_cloud_lb_statusvarchar(32)
service_numberint(11)
entnamevarchar(32)环境名称
host_log_pathvarchar(100)log mount path
okayapi_cloud_lb_cpuvarchar(10)2cpu2
okayapi_cloud_lb_memoryvarchar(10)4096memory4096

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

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

TOP ↑