+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_appver_user:/tablelist/okayapi_appver_user.html


-- MySQL Table okayapi_appver_user
-- From: OkayAPI.com
CREATE TABLE `okayapi_appver_user` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `user_id` varchar(64) NOT NULL COMMENT '用户ID',
    `phone` varchar(32) NOT NULL COMMENT '手机号',
    `username` varchar(255) NOT NULL COMMENT '用户名',
    `password` varchar(255) NOT NULL COMMENT '用户密码',
    `nick_name` varchar(32) NOT NULL COMMENT '昵称',
    `first_login_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
    `is_admin` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否是超级管理员',
    KEY `user_id` (`user_id`),
    KEY `phone` (`phone`),
    KEY `username` (`username`),
    KEY `password` (`password`),
    KEY `nick_name` (`nick_name`),
    KEY `first_login_time` (`first_login_time`),
    KEY `is_admin` (`is_admin`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'App版本管理-用户';

After replication, you can go to the database to create the database table.


MySQL database table structure design

Displaying 1-7 of 7 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
user_idvarchar(64)用户ID
phonevarchar(32)手机号Unique Index
usernamevarchar(255)用户名
passwordvarchar(255)用户密码
nick_namevarchar(32)昵称
first_login_timetimestampCURRENT_TIMESTAMP创建时间CURRENT_TIMESTAMP
is_admintinyint(1)0是否是超级管理员0

Guess You Like

MySQL Table Design okayapi_appver_access_log

MySQL Table Design okayapi_appver_android_version

MySQL Table Design okayapi_appver_apk

MySQL Table Design okayapi_appver_apk_download_record

MySQL Table Design okayapi_appver_app

MySQL Table Design okayapi_appver_channel

MySQL Table Design okayapi_appver_chat_bot

MySQL Table Design okayapi_appver_custom_api

MySQL Table Design okayapi_appver_ios_version

MySQL Table Design okayapi_appver_operation_record_log

MySQL Table Design okayapi_appver_rn_package

MySQL Table Design okayapi_appver_rn_route

MySQL Table Design okayapi_appver_user_app_rel

TOP ↑