MySQL Create Table SQL
Table Structure: okayapi_cmdb_mgmt_table:/tablelist/okayapi_cmdb_mgmt_table.html
-- MySQL Table okayapi_cmdb_mgmt_table
-- From: OkayAPI.com
CREATE TABLE `okayapi_cmdb_mgmt_table` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`okayapi_cmdb_mgmt_table_name` varchar(20) NOT NULL COMMENT '',
`alias` varchar(20) NOT NULL COMMENT '',
`readme` longtext NOT NULL COMMENT '',
`creation_time` datetime(6) NOT NULL COMMENT '',
`creator_id` int(11) NOT NULL COMMENT '',
KEY `okayapi_cmdb_mgmt_table_name` (`okayapi_cmdb_mgmt_table_name`),
KEY `alias` (`alias`),
KEY `readme` (`readme`),
KEY `creation_time` (`creation_time`),
KEY `creator_id` (`creator_id`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'CMDB管理-表格';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-5 of 5 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
okayapi_cmdb_mgmt_table_name | varchar(20) | 否 | ||||
alias | varchar(20) | 是 | Unique Index | |||
readme | longtext | 否 | ||||
creation_time | datetime(6) | 否 | ||||
creator_id | int(11) | 否 | Normal Index |