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 Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
user_id | bigint(20) | 否 | ||||
token | varchar(100) | 否 | token | Unique Index | ||
expire_time | datetime | 是 | 过期时间 |