MySQL Create Table SQL
Table Structure: okayapi_eduwind_ew_question_response:/tablelist/okayapi_eduwind_ew_question_response.html
-- MySQL Table okayapi_eduwind_ew_question_response
-- From: OkayAPI.com
CREATE TABLE `okayapi_eduwind_ew_question_response` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`userId` int(11) NOT NULL COMMENT '',
`questionId` int(11) NOT NULL COMMENT '',
`content` text NOT NULL COMMENT '',
`addTime` int(11) NOT NULL DEFAULT '0' COMMENT '',
`weight` int(11) NOT NULL DEFAULT '0' COMMENT '',
`okayapi_eduwind_ew_question_response_status` int(11) NOT NULL DEFAULT '0' COMMENT '',
`score` decimal(7,2) NOT NULL DEFAULT '0.00' COMMENT '得分',
KEY `userId` (`userId`),
KEY `questionId` (`questionId`),
KEY `content` (`content`),
KEY `addTime` (`addTime`),
KEY `weight` (`weight`),
KEY `okayapi_eduwind_ew_question_response_status` (`okayapi_eduwind_ew_question_response_status`),
KEY `score` (`score`),
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) | 否 | ||||
questionId | int(11) | 否 | ||||
content | text | 是 | ||||
addTime | int(11) | 0 | 否 | 0 | ||
weight | int(11) | 0 | 否 | 0 | ||
okayapi_eduwind_ew_question_response_status | int(11) | 0 | 否 | 0 | ||
score | decimal(7,2) | 0.00 | 否 | 得分 | 0.00 |