MySQL Create Table SQL
Table Structure: okayapi_fie_user_score_log:/tablelist/okayapi_fie_user_score_log.html
-- MySQL Table okayapi_fie_user_score_log
-- From: OkayAPI.com
CREATE TABLE `okayapi_fie_user_score_log` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`user_id` bigint(20) NOT NULL DEFAULT '0' COMMENT '用户 id',
`create_time` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
`okayapi_fie_user_score_log_action` varchar(50) NOT NULL COMMENT '用户操作名称',
`score` int(11) NOT NULL DEFAULT '0' COMMENT '更改积分,可以为负',
`coin` int(11) NOT NULL DEFAULT '0' COMMENT '更改金币,可以为负',
KEY `user_id` (`user_id`),
KEY `create_time` (`create_time`),
KEY `okayapi_fie_user_score_log_action` (`okayapi_fie_user_score_log_action`),
KEY `score` (`score`),
KEY `coin` (`coin`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'fie内容管理-用户操作积分等奖励日志表';
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 |
---|---|---|---|---|---|---|
user_id | bigint(20) | 0 | 否 | 用户 id | 0 | |
create_time | int(11) | 0 | 否 | 创建时间 | 0 | |
okayapi_fie_user_score_log_action | varchar(50) | 否 | 用户操作名称 | |||
score | int(11) | 0 | 否 | 更改积分,可以为负 | 0 | |
coin | int(11) | 0 | 否 | 更改金币,可以为负 | 0 |