MySQL Create Table SQL
Table Structure: okayapi_wp_links:/tablelist/okayapi_wp_links.html
-- MySQL Table okayapi_wp_links
-- From: OkayAPI.com
CREATE TABLE `okayapi_wp_links` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`link_id` bigint(20) NOT NULL COMMENT '',
`link_url` varchar(255) NOT NULL COMMENT '',
`link_name` varchar(255) NOT NULL COMMENT '',
`link_image` varchar(255) NOT NULL COMMENT '',
`link_target` varchar(25) NOT NULL COMMENT '',
`link_description` varchar(255) NOT NULL COMMENT '',
`link_visible` varchar(20) NOT NULL DEFAULT 'Y' COMMENT '',
`link_owner` bigint(20) NOT NULL DEFAULT '1' COMMENT '',
`link_rating` int(11) NOT NULL DEFAULT '0' COMMENT '',
`link_updated` datetime NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT '',
`link_rel` varchar(255) NOT NULL COMMENT '',
`link_notes` mediumtext NOT NULL COMMENT '',
`link_rss` varchar(255) NOT NULL COMMENT '',
KEY `link_id` (`link_id`),
KEY `link_url` (`link_url`),
KEY `link_name` (`link_name`),
KEY `link_image` (`link_image`),
KEY `link_target` (`link_target`),
KEY `link_description` (`link_description`),
KEY `link_visible` (`link_visible`),
KEY `link_owner` (`link_owner`),
KEY `link_rating` (`link_rating`),
KEY `link_updated` (`link_updated`),
KEY `link_rel` (`link_rel`),
KEY `link_notes` (`link_notes`),
KEY `link_rss` (`link_rss`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'WordPress-链接';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-13 of 13 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
link_id | bigint(20) | 否 | ||||
link_url | varchar(255) | 否 | ||||
link_name | varchar(255) | 否 | ||||
link_image | varchar(255) | 否 | ||||
link_target | varchar(25) | 否 | ||||
link_description | varchar(255) | 否 | ||||
link_visible | varchar(20) | Y | 否 | Normal Index | Y | |
link_owner | bigint(20) | 1 | 否 | 1 | ||
link_rating | int(11) | 0 | 否 | 0 | ||
link_updated | datetime | 0000-00-00 00:00:00 | 否 | 0000-00-00 00:00:00 | ||
link_rel | varchar(255) | 否 | ||||
link_notes | mediumtext | 否 | ||||
link_rss | varchar(255) | 否 |