+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_migo_tb_token:/tablelist/okayapi_migo_tb_token.html


-- MySQL Table okayapi_migo_tb_token
-- From: OkayAPI.com
CREATE TABLE `okayapi_migo_tb_token` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `user_id` bigint(20) NULL COMMENT '',
    `token` varchar(100) NULL COMMENT 'token',
    `expire_time` datetime NULL COMMENT '过期时间',
    KEY `user_id` (`user_id`),
    KEY `token` (`token`),
    KEY `expire_time` (`expire_time`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'migo权限管理-用户Token';

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 NameField TypeDefaultIS NULLField CommentIndexDemo Data
user_idbigint(20)
tokenvarchar(100)tokenUnique Index
expire_timedatetime过期时间

Guess You Like

MySQL Table Design okayapi_migo_schedule_job

MySQL Table Design okayapi_migo_schedule_job_log

MySQL Table Design okayapi_migo_sys_config

MySQL Table Design okayapi_migo_sys_log

MySQL Table Design okayapi_migo_sys_menu

MySQL Table Design okayapi_migo_sys_oss

MySQL Table Design okayapi_migo_sys_role

MySQL Table Design okayapi_migo_sys_role_menu

MySQL Table Design okayapi_migo_sys_user

MySQL Table Design okayapi_migo_sys_user_role

MySQL Table Design okayapi_migo_tb_user

MySQL Table Design okayapi_rights_assign

TOP ↑