+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_apijson_user:/tablelist/okayapi_apijson_user.html


-- MySQL Table okayapi_apijson_user
-- From: OkayAPI.com
CREATE TABLE `okayapi_apijson_user` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `sex` tinyint(2) NULL DEFAULT '0' COMMENT '性别:
0-男
1-女',
    `name` varchar(20) NULL COMMENT '名称',
    `tag` varchar(45) NULL COMMENT '标签',
    `head` varchar(300) NULL DEFAULT 'https://raw.githubusercontent.com/TommyLemon/StaticResources/master/APIJSON_Logo.png' COMMENT '头像url',
    `contactIdList` varchar(100) NULL COMMENT '联系人id列表',
    `pictureList` varchar(100) NULL COMMENT '照片列表',
    `date` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建日期',
    KEY `sex` (`sex`),
    KEY `name` (`name`),
    KEY `tag` (`tag`),
    KEY `head` (`head`),
    KEY `contactIdList` (`contactIdList`),
    KEY `pictureList` (`pictureList`),
    KEY `date` (`date`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'web开发-用户公开信息表';

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
sextinyint(2)0性别: 0-男 1-女0
namevarchar(20)名称
tagvarchar(45)标签
headvarchar(300)https://raw.githubusercontent.com/TommyLemon/StaticResources/master/APIJSON_Logo.png头像urlhttps://raw.githubusercontent.com/TommyLemon/StaticResources/master/APIJSON_Logo.png
contactIdListvarchar(100)联系人id列表
pictureListvarchar(100)照片列表
datetimestampCURRENT_TIMESTAMP创建日期CURRENT_TIMESTAMP

Guess You Like

MySQL Table Design okayapi_seo_article

MySQL Table Design okayapi_article_ad

MySQL Table Design okayapi_article_cate

MySQL Table Design okayapi_article_tag

MySQL Table Design okayapi_article_map

MySQL Table Design okayapi_access

MySQL Table Design okayapi_comment

MySQL Table Design okayapi_document

MySQL Table Design okayapi_function

MySQL Table Design okayapi_login

MySQL Table Design okayapi_moment

MySQL Table Design okayapi_praise

MySQL Table Design okayapi_request

MySQL Table Design okayapi_response

MySQL Table Design okayapi_test_record

MySQL Table Design okayapi_verify

MySQL Table Design okayapi_apijson_privacy

TOP ↑