MySQL Create Table SQL
Table Structure: okayapi_kite_link:/tablelist/okayapi_kite_link.html
-- MySQL Table okayapi_kite_link
-- From: OkayAPI.com
CREATE TABLE `okayapi_kite_link` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`cid` int(11) NOT NULL DEFAULT '0' COMMENT '友情链接分类ID',
`site_id` char(64) NOT NULL COMMENT '网站编号',
`name` varchar(64) NOT NULL COMMENT '网站名称',
`url` varchar(64) NOT NULL COMMENT '网站地址',
`logo` varchar(255) NOT NULL COMMENT 'logo地址',
`sort` int(11) NOT NULL DEFAULT '0' COMMENT '排序',
`status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '状态: 0隐藏 1 显示',
KEY `cid` (`cid`),
KEY `site_id` (`site_id`),
KEY `name` (`name`),
KEY `url` (`url`),
KEY `logo` (`logo`),
KEY `sort` (`sort`),
KEY `status` (`status`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT '建站系统-链接表';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-7 of 7 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
cid | int(11) | 0 | 是 | 友情链接分类ID | 0 | |
site_id | char(64) | 否 | 网站编号 | |||
name | varchar(64) | 否 | 网站名称 | |||
url | varchar(64) | 否 | 网站地址 | |||
logo | varchar(255) | 否 | logo地址 | |||
sort | int(11) | 0 | 否 | 排序 | 0 | |
status | tinyint(1) | 0 | 否 | 状态: 0隐藏 1 显示 | 0 |