+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_fie_user_token:/tablelist/okayapi_fie_user_token.html


-- MySQL Table okayapi_fie_user_token
-- From: OkayAPI.com
CREATE TABLE `okayapi_fie_user_token` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `user_id` bigint(20) NOT NULL DEFAULT '0' COMMENT '用户id',
    `expire_time` int(10) NOT NULL DEFAULT '0' COMMENT ' 过期时间',
    `create_time` int(10) NOT NULL DEFAULT '0' COMMENT '创建时间',
    `token` varchar(64) NOT NULL COMMENT 'token',
    `device_type` varchar(10) NOT NULL COMMENT '设备类型;mobile,android,iphone,ipad,web,pc,mac,wxapp',
    KEY `user_id` (`user_id`),
    KEY `expire_time` (`expire_time`),
    KEY `create_time` (`create_time`),
    KEY `token` (`token`),
    KEY `device_type` (`device_type`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'fie内容管理-用户客户端登录 token 表';

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 NameField TypeDefaultIS NULLField CommentIndexDemo Data
user_idbigint(20)0用户id0
expire_timeint(10)0 过期时间0
create_timeint(10)0创建时间0
tokenvarchar(64)token
device_typevarchar(10)设备类型;mobile,android,iphone,ipad,web,pc,mac,wxapp

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 ↑