MySQL Create Table SQL
Table Structure: okayapi_fie_user_action:/tablelist/okayapi_fie_user_action.html
-- MySQL Table okayapi_fie_user_action
-- From: OkayAPI.com
CREATE TABLE `okayapi_fie_user_action` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`score` int(11) NULL DEFAULT '0' COMMENT '更改积分,可以为负',
`coin` int(11) NULL DEFAULT '0' COMMENT '更改金币,可以为负',
`reward_number` int(11) NULL DEFAULT '0' COMMENT '奖励次数',
`cycle_type` tinyint(1) NULL DEFAULT '0' COMMENT '周期类型;0:不限;1:按天;2:按小时;3:永久',
`cycle_time` int(10) NULL DEFAULT '0' COMMENT '周期时间值',
`okayapi_fie_user_action_name` varchar(50) NULL COMMENT '用户操作名称',
`okayapi_fie_user_action_action` varchar(50) NULL COMMENT '用户操作名称',
`app` varchar(50) NULL COMMENT '操作所在应用名或插件名等',
`url` text NULL COMMENT '执行操作的url',
KEY `score` (`score`),
KEY `coin` (`coin`),
KEY `reward_number` (`reward_number`),
KEY `cycle_type` (`cycle_type`),
KEY `cycle_time` (`cycle_time`),
KEY `okayapi_fie_user_action_name` (`okayapi_fie_user_action_name`),
KEY `okayapi_fie_user_action_action` (`okayapi_fie_user_action_action`),
KEY `app` (`app`),
KEY `url` (`url`),
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-9 of 9 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
score | int(11) | 0 | 否 | 更改积分,可以为负 | 0 | |
coin | int(11) | 0 | 否 | 更改金币,可以为负 | 0 | |
reward_number | int(11) | 0 | 否 | 奖励次数 | 0 | |
cycle_type | tinyint(1) | 0 | 否 | 周期类型;0:不限;1:按天;2:按小时;3:永久 | 0 | |
cycle_time | int(10) | 0 | 否 | 周期时间值 | 0 | |
okayapi_fie_user_action_name | varchar(50) | 否 | 用户操作名称 | |||
okayapi_fie_user_action_action | varchar(50) | 否 | 用户操作名称 | |||
app | varchar(50) | 否 | 操作所在应用名或插件名等 | |||
url | text | 是 | 执行操作的url |