MySQL Create Table SQL
Table Structure: okayapi_eduwind_ew_rate:/tablelist/okayapi_eduwind_ew_rate.html
-- MySQL Table okayapi_eduwind_ew_rate
-- From: OkayAPI.com
CREATE TABLE `okayapi_eduwind_ew_rate` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`userId` int(11) NOT NULL DEFAULT '0' COMMENT '关注者id',
`title` char(255) NOT NULL COMMENT '标题',
`content` text NOT NULL COMMENT '内容',
`addTime` int(11) NOT NULL DEFAULT '0' COMMENT '发表时间',
`upTime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
`score` int(11) NOT NULL DEFAULT '0' COMMENT '评分',
`rateableEntityId` int(11) NOT NULL DEFAULT '0' COMMENT '被评价者',
KEY `userId` (`userId`),
KEY `title` (`title`),
KEY `content` (`content`),
KEY `addTime` (`addTime`),
KEY `upTime` (`upTime`),
KEY `score` (`score`),
KEY `rateableEntityId` (`rateableEntityId`),
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-7 of 7 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
userId | int(11) | 0 | 否 | 关注者id | Normal Index | 0 |
title | char(255) | 否 | 标题 | |||
content | text | 否 | 内容 | |||
addTime | int(11) | 0 | 是 | 发表时间 | 0 | |
upTime | int(11) | 0 | 是 | 修改时间 | 0 | |
score | int(11) | 0 | 否 | 评分 | 0 | |
rateableEntityId | int(11) | 0 | 否 | 被评价者 | 0 |