+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_eduwind_ew_message:/tablelist/okayapi_eduwind_ew_message.html


-- MySQL Table okayapi_eduwind_ew_message
-- From: OkayAPI.com
CREATE TABLE `okayapi_eduwind_ew_message` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `fromUserId` int(11) NOT NULL COMMENT '发送者id',
    `toUserId` int(11) NOT NULL COMMENT '接收者id',
    `content` text NOT NULL COMMENT '内容',
    `addTime` int(11) NOT NULL DEFAULT '0' COMMENT '发送时间',
    `isChecked` tinyint(4) NOT NULL DEFAULT '0' COMMENT '是否已读,0:未读,1已读',
    `isMailed` tinyint(1) NOT NULL DEFAULT '0' COMMENT '',
    KEY `fromUserId` (`fromUserId`),
    KEY `toUserId` (`toUserId`),
    KEY `content` (`content`),
    KEY `addTime` (`addTime`),
    KEY `isChecked` (`isChecked`),
    KEY `isMailed` (`isMailed`),
    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-6 of 6 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
fromUserIdint(11)发送者idNormal Index
toUserIdint(11)接收者idNormal Index
contenttext内容
addTimeint(11)0发送时间0
isCheckedtinyint(4)0是否已读,0:未读,1已读0
isMailedtinyint(1)00

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 ↑