MySQL Create Table SQL
Table Structure: okayapi_zd_db_history:/tablelist/okayapi_zd_db_history.html
-- MySQL Table okayapi_zd_db_history
-- From: OkayAPI.com
CREATE TABLE `okayapi_zd_db_history` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`datasource_id` bigint(20) NULL COMMENT '数据源ID',
`content` varchar(10000) NULL COMMENT 'sql内容',
`create_user_id` bigint(20) NULL COMMENT '创建人ID',
`create_user_name` varchar(20) NULL COMMENT '创建人名字',
`yn` tinyint(4) NULL COMMENT '是否有效 0=无效 1=有效',
KEY `datasource_id` (`datasource_id`),
KEY `content` (`content`),
KEY `create_user_id` (`create_user_id`),
KEY `create_user_name` (`create_user_name`),
KEY `yn` (`yn`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'WIKI-历史纪录';
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 |
---|---|---|---|---|---|---|
datasource_id | bigint(20) | 是 | 数据源ID | |||
content | varchar(10000) | 是 | sql内容 | |||
create_user_id | bigint(20) | 是 | 创建人ID | |||
create_user_name | varchar(20) | 是 | 创建人名字 | |||
yn | tinyint(4) | 是 | 是否有效 0=无效 1=有效 |