+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_eduwind_ew_media:/tablelist/okayapi_eduwind_ew_media.html


-- MySQL Table okayapi_eduwind_ew_media
-- From: OkayAPI.com
CREATE TABLE `okayapi_eduwind_ew_media` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `title` char(255) NOT NULL COMMENT '标题',
    `url` char(255) NOT NULL COMMENT '链接',
    `userId` int(11) NOT NULL COMMENT '用户id',
    `weight` int(11) NOT NULL DEFAULT '0' COMMENT '重量,用于课时排序,weight小的在前',
    `addTime` int(11) NOT NULL DEFAULT '0' COMMENT '添加时间',
    `upTime` int(11) NOT NULL DEFAULT '0' COMMENT '最新修改时间',
    `introduction` text NOT NULL COMMENT '视频介绍',
    `okayapi_eduwind_ew_media_type` char(32) NOT NULL DEFAULT 'link' COMMENT '课时内容类型',
    `viewNum` int(11) NOT NULL DEFAULT '0' COMMENT '课时点击次数',
    KEY `title` (`title`),
    KEY `url` (`url`),
    KEY `userId` (`userId`),
    KEY `weight` (`weight`),
    KEY `addTime` (`addTime`),
    KEY `upTime` (`upTime`),
    KEY `introduction` (`introduction`),
    KEY `okayapi_eduwind_ew_media_type` (`okayapi_eduwind_ew_media_type`),
    KEY `viewNum` (`viewNum`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'EW在线教育-课时表';

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 NameField TypeDefaultIS NULLField CommentIndexDemo Data
titlechar(255)标题
urlchar(255)链接
userIdint(11)用户idNormal Index
weightint(11)0重量,用于课时排序,weight小的在前0
addTimeint(11)0添加时间0
upTimeint(11)0最新修改时间0
introductiontext视频介绍
okayapi_eduwind_ew_media_typechar(32)link课时内容类型link
viewNumint(11)0课时点击次数0

Guess You Like

MySQL Table Design okayapi_course_apply

MySQL Table Design okayapi_studyabc_articles

MySQL Table Design okayapi_studyabc_articles_content

MySQL Table Design okayapi_studyabc_cet

MySQL Table Design okayapi_studyabc_cetdesc

MySQL Table Design okayapi_studyabc_tinyenglish

MySQL Table Design okayapi_eduwind_AuthAssignment

MySQL Table Design okayapi_eduwind_AuthItem

MySQL Table Design okayapi_eduwind_AuthItemChild

MySQL Table Design okayapi_eduwind_Rights

MySQL Table Design okayapi_eduwind_YiiSession

MySQL Table Design okayapi_eduwind_ew_announcement

MySQL Table Design okayapi_eduwind_ew_answer

MySQL Table Design okayapi_eduwind_ew_area

MySQL Table Design okayapi_eduwind_ew_article

MySQL Table Design okayapi_eduwind_ew_bottom_text

MySQL Table Design okayapi_eduwind_ew_carousel

MySQL Table Design okayapi_eduwind_ew_category

MySQL Table Design okayapi_eduwind_ew_chapter

MySQL Table Design okayapi_eduwind_ew_city

TOP ↑