MySQL Create Table SQL
Table Structure: okayapi_eduwind_ew_collect:/tablelist/okayapi_eduwind_ew_collect.html
-- MySQL Table okayapi_eduwind_ew_collect
-- From: OkayAPI.com
CREATE TABLE `okayapi_eduwind_ew_collect` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`userId` int(11) NOT NULL DEFAULT '0' COMMENT '关注者id',
`collectableEntityId` int(11) NOT NULL DEFAULT '0' COMMENT '被收藏',
`addTime` int(11) NOT NULL DEFAULT '0' COMMENT '关注时间',
KEY `userId` (`userId`),
KEY `collectableEntityId` (`collectableEntityId`),
KEY `addTime` (`addTime`),
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-3 of 3 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
userId | int(11) | 0 | 否 | 关注者id | Normal Index | 0 |
collectableEntityId | int(11) | 0 | 否 | 被收藏 | 0 | |
addTime | int(11) | 0 | 否 | 关注时间 | 0 |