MySQL Create Table SQL
Table Structure: okayapi_eduwind_ew_vote:/tablelist/okayapi_eduwind_ew_vote.html
-- MySQL Table okayapi_eduwind_ew_vote
-- From: OkayAPI.com
CREATE TABLE `okayapi_eduwind_ew_vote` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`okayapi_eduwind_ew_vote_value` tinyint(4) NOT NULL DEFAULT '0' COMMENT '选票值,1为顶,0为踩',
`userId` int(11) NOT NULL DEFAULT '0' COMMENT '评价者id',
`addTime` int(11) NOT NULL DEFAULT '0' COMMENT '添加时间',
`voteableEntityId` int(11) NOT NULL DEFAULT '0' COMMENT '评论对象id',
`upTime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
KEY `okayapi_eduwind_ew_vote_value` (`okayapi_eduwind_ew_vote_value`),
KEY `userId` (`userId`),
KEY `addTime` (`addTime`),
KEY `voteableEntityId` (`voteableEntityId`),
KEY `upTime` (`upTime`),
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-5 of 5 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
okayapi_eduwind_ew_vote_value | tinyint(4) | 0 | 否 | 选票值,1为顶,0为踩 | 0 | |
userId | int(11) | 0 | 否 | 评价者id | Normal Index | 0 |
addTime | int(11) | 0 | 否 | 添加时间 | 0 | |
voteableEntityId | int(11) | 0 | 否 | 评论对象id | 0 | |
upTime | int(11) | 0 | 否 | 修改时间 | 0 |