+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_article_ad:/tablelist/okayapi_article_ad.html


-- MySQL Table okayapi_article_ad
-- From: OkayAPI.com
CREATE TABLE `okayapi_article_ad` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `title` varchar(30) NOT NULL COMMENT '标题',
    `cover` varchar(100) NOT NULL COMMENT '图片',
    `location_id` int(11) NOT NULL DEFAULT '0' COMMENT '广告位ID',
    `silder_text` varchar(150) NOT NULL COMMENT '图片描述',
    `start_time` int(10) NOT NULL DEFAULT '0' COMMENT '开始时间',
    `end_time` int(10) NOT NULL DEFAULT '0' COMMENT '结束时间',
    `jump_link` varchar(150) NOT NULL COMMENT '跳转链接',
    `jump_type` tinyint(4) NOT NULL DEFAULT '1' COMMENT '跳转方式[1:新标签; 2:当前页]',
    `sort` int(10) NOT NULL DEFAULT '0' COMMENT '优先级',
    `status` tinyint(4) NOT NULL DEFAULT '1' COMMENT '状态',
    KEY `title` (`title`),
    KEY `cover` (`cover`),
    KEY `location_id` (`location_id`),
    KEY `silder_text` (`silder_text`),
    KEY `start_time` (`start_time`),
    KEY `end_time` (`end_time`),
    KEY `jump_link` (`jump_link`),
    KEY `jump_type` (`jump_type`),
    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-10 of 10 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
titlevarchar(30)标题
covervarchar(100)图片
location_idint(11)0广告位ID0
silder_textvarchar(150)图片描述
start_timeint(10)0开始时间0
end_timeint(10)0结束时间0
jump_linkvarchar(150)跳转链接
jump_typetinyint(4)1跳转方式[1:新标签; 2:当前页]1
sortint(10)0优先级0
statustinyint(4)1状态1

Guess You Like

MySQL Table Design okayapi_seo_article

MySQL Table Design okayapi_article_cate

MySQL Table Design okayapi_article_tag

MySQL Table Design okayapi_article_map

MySQL Table Design okayapi_access

MySQL Table Design okayapi_comment

MySQL Table Design okayapi_document

MySQL Table Design okayapi_function

MySQL Table Design okayapi_login

MySQL Table Design okayapi_moment

MySQL Table Design okayapi_praise

MySQL Table Design okayapi_request

MySQL Table Design okayapi_response

MySQL Table Design okayapi_test_record

MySQL Table Design okayapi_verify

MySQL Table Design okayapi_apijson_privacy

MySQL Table Design okayapi_apijson_user

TOP ↑