MySQL Create Table SQL
Table Structure: okayapi_fl_slide:/tablelist/okayapi_fl_slide.html
-- MySQL Table okayapi_fl_slide
-- From: OkayAPI.com
CREATE TABLE `okayapi_fl_slide` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`title` varchar(150) NOT NULL COMMENT '标题',
`url` varchar(150) NOT NULL COMMENT '跳转的url',
`target` smallint(2) NOT NULL DEFAULT '0' COMMENT '跳转方式,0_blank,1_self,2_parent,3_top,4framename',
`group_id` int(11) NOT NULL DEFAULT '0' COMMENT '分组ID',
`pic` varchar(150) NOT NULL COMMENT '图片地址',
`listorder` int(4) NOT NULL DEFAULT '0' COMMENT '排序',
`status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0正常,1禁用',
KEY `title` (`title`),
KEY `url` (`url`),
KEY `target` (`target`),
KEY `group_id` (`group_id`),
KEY `pic` (`pic`),
KEY `listorder` (`listorder`),
KEY `status` (`status`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'CMS建站系统-幻灯/Banner表';
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 |
---|---|---|---|---|---|---|
title | varchar(150) | 否 | 标题 | |||
url | varchar(150) | 否 | 跳转的url | |||
target | smallint(2) | 0 | 否 | 跳转方式,0_blank,1_self,2_parent,3_top,4framename | 0 | |
group_id | int(11) | 0 | 否 | 分组ID | 0 | |
pic | varchar(150) | 否 | 图片地址 | |||
listorder | int(4) | 0 | 否 | 排序 | 0 | |
status | tinyint(1) | 0 | 否 | 0正常,1禁用 | 0 |