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 Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
fromUserId | int(11) | 否 | 发送者id | Normal Index | ||
toUserId | int(11) | 否 | 接收者id | Normal Index | ||
content | text | 否 | 内容 | |||
addTime | int(11) | 0 | 否 | 发送时间 | 0 | |
isChecked | tinyint(4) | 0 | 否 | 是否已读,0:未读,1已读 | 0 | |
isMailed | tinyint(1) | 0 | 否 | 0 |