MySQL Create Table SQL
Table Structure: okayapi_eduwind_ew_notice:/tablelist/okayapi_eduwind_ew_notice.html
-- MySQL Table okayapi_eduwind_ew_notice
-- From: OkayAPI.com
CREATE TABLE `okayapi_eduwind_ew_notice` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`userId` int(11) NOT NULL COMMENT '用户id',
`okayapi_eduwind_ew_notice_data` varchar(1024) NOT NULL COMMENT '数据',
`okayapi_eduwind_ew_notice_type` char(255) NOT NULL COMMENT '通知类型',
`addTime` int(11) NOT NULL DEFAULT '0' COMMENT '添加时间',
`isChecked` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否已读,1已读,0未读',
`isMailed` tinyint(1) NOT NULL DEFAULT '0' COMMENT '',
KEY `userId` (`userId`),
KEY `okayapi_eduwind_ew_notice_data` (`okayapi_eduwind_ew_notice_data`),
KEY `okayapi_eduwind_ew_notice_type` (`okayapi_eduwind_ew_notice_type`),
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 |
---|---|---|---|---|---|---|
userId | int(11) | 否 | 用户id | Normal Index | ||
okayapi_eduwind_ew_notice_data | varchar(1024) | 是 | 数据 | |||
okayapi_eduwind_ew_notice_type | char(255) | 否 | 通知类型 | |||
addTime | int(11) | 0 | 否 | 添加时间 | 0 | |
isChecked | tinyint(1) | 0 | 否 | 是否已读,1已读,0未读 | 0 | |
isMailed | tinyint(1) | 0 | 否 | 0 |