MySQL Create Table SQL
Table Structure: okayapi_migo_tb_user:/tablelist/okayapi_migo_tb_user.html
-- MySQL Table okayapi_migo_tb_user
-- From: OkayAPI.com
CREATE TABLE `okayapi_migo_tb_user` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`user_id` bigint(20) NULL COMMENT '',
`username` varchar(50) NULL COMMENT '用户名',
`mobile` varchar(20) NULL COMMENT '手机号',
`okayapi_migo_tb_user_password` varchar(64) NULL COMMENT '密码',
`create_time` datetime NULL COMMENT '创建时间',
KEY `user_id` (`user_id`),
KEY `username` (`username`),
KEY `mobile` (`mobile`),
KEY `okayapi_migo_tb_user_password` (`okayapi_migo_tb_user_password`),
KEY `create_time` (`create_time`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'migo权限管理-用户';
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 Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
user_id | bigint(20) | 否 | ||||
username | varchar(50) | 否 | 用户名 | Unique Index | ||
mobile | varchar(20) | 否 | 手机号 | |||
okayapi_migo_tb_user_password | varchar(64) | 是 | 密码 | |||
create_time | datetime | 是 | 创建时间 |