+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_fie_user_action_log:/tablelist/okayapi_fie_user_action_log.html


-- MySQL Table okayapi_fie_user_action_log
-- From: OkayAPI.com
CREATE TABLE `okayapi_fie_user_action_log` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `user_id` bigint(20) NOT NULL DEFAULT '0' COMMENT '用户id',
    `count` int(10) NOT NULL DEFAULT '0' COMMENT '访问次数',
    `last_visit_time` int(10) NOT NULL DEFAULT '0' COMMENT '最后访问时间',
    `object` varchar(100) NOT NULL COMMENT '访问对象的id,格式:不带前缀的表名+id;如posts1表示xx_posts表里id为1的记录',
    `okayapi_fie_user_action_log_action` varchar(50) NOT NULL COMMENT '操作名称;格式:应用名+控制器+操作名,也可自己定义格式只要不发生冲突且惟一;',
    `ip` varchar(15) NOT NULL COMMENT '用户ip',
    KEY `user_id` (`user_id`),
    KEY `count` (`count`),
    KEY `last_visit_time` (`last_visit_time`),
    KEY `object` (`object`),
    KEY `okayapi_fie_user_action_log_action` (`okayapi_fie_user_action_log_action`),
    KEY `ip` (`ip`),
    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-6 of 6 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
user_idbigint(20)0用户idNormal Index0
countint(10)0访问次数0
last_visit_timeint(10)0最后访问时间0
objectvarchar(100)访问对象的id,格式:不带前缀的表名+id;如posts1表示xx_posts表里id为1的记录
okayapi_fie_user_action_log_actionvarchar(50)操作名称;格式:应用名+控制器+操作名,也可自己定义格式只要不发生冲突且惟一;
ipvarchar(15)用户ip

Guess You Like

MySQL Table Design okayapi_message

MySQL Table Design okayapi_article

MySQL Table Design okayapi_fie_admin_menu

MySQL Table Design okayapi_fie_asset

MySQL Table Design okayapi_fie_auth_access

MySQL Table Design okayapi_fie_auth_rule

MySQL Table Design okayapi_fie_comment

MySQL Table Design okayapi_fie_hook

MySQL Table Design okayapi_fie_hook_plugin

MySQL Table Design okayapi_fie_link

MySQL Table Design okayapi_fie_nav

MySQL Table Design okayapi_fie_nav_menu

MySQL Table Design okayapi_fie_option

MySQL Table Design okayapi_fie_plugin

MySQL Table Design okayapi_fie_portal_category

MySQL Table Design okayapi_fie_portal_category_post

MySQL Table Design okayapi_fie_portal_post

MySQL Table Design okayapi_fie_portal_tag

MySQL Table Design okayapi_fie_portal_tag_post

MySQL Table Design okayapi_fie_recycle_bin

TOP ↑