MySQL Create Table SQL
Table Structure: okayapi_fie_link:/tablelist/okayapi_fie_link.html
-- MySQL Table okayapi_fie_link
-- From: OkayAPI.com
CREATE TABLE `okayapi_fie_link` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`okayapi_fie_link_status` tinyint(3) NOT NULL DEFAULT '1' COMMENT '状态;1:显示;0:不显示',
`rating` int(11) NOT NULL DEFAULT '0' COMMENT '友情链接评级',
`list_order` float NOT NULL DEFAULT '10000' COMMENT '排序',
`description` varchar(255) NOT NULL COMMENT '友情链接描述',
`url` varchar(255) NOT NULL COMMENT '友情链接地址',
`okayapi_fie_link_name` varchar(30) NOT NULL COMMENT '友情链接名称',
`image` varchar(100) NOT NULL COMMENT '友情链接图标',
`target` varchar(10) NOT NULL COMMENT '友情链接打开方式',
`rel` varchar(50) NOT NULL COMMENT '链接与网站的关系',
KEY `okayapi_fie_link_status` (`okayapi_fie_link_status`),
KEY `rating` (`rating`),
KEY `list_order` (`list_order`),
KEY `description` (`description`),
KEY `url` (`url`),
KEY `okayapi_fie_link_name` (`okayapi_fie_link_name`),
KEY `image` (`image`),
KEY `target` (`target`),
KEY `rel` (`rel`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'fie内容管理-友情链接表';
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 |
---|---|---|---|---|---|---|
okayapi_fie_link_status | tinyint(3) | 1 | 否 | 状态;1:显示;0:不显示 | Normal Index | 1 |
rating | int(11) | 0 | 否 | 友情链接评级 | 0 | |
list_order | float | 10000 | 否 | 排序 | 10000 | |
description | varchar(255) | 否 | 友情链接描述 | |||
url | varchar(255) | 否 | 友情链接地址 | |||
okayapi_fie_link_name | varchar(30) | 否 | 友情链接名称 | |||
image | varchar(100) | 否 | 友情链接图标 | |||
target | varchar(10) | 否 | 友情链接打开方式 | |||
rel | varchar(50) | 否 | 链接与网站的关系 |