+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_sina_weibo:/tablelist/okayapi_sina_weibo.html


-- MySQL Table okayapi_sina_weibo
-- From: OkayAPI.com
CREATE TABLE `okayapi_sina_weibo` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `weibo_id` bigint(11) NULL COMMENT '新浪用户 ID',
    `uid` int(11) NULL COMMENT '用户在本地的UID',
    `okayapi_sina_weibo_name` varchar(64) NULL COMMENT '微博昵称',
    `location` varchar(255) NULL COMMENT '地址',
    `description` text NULL COMMENT '个人描述',
    `url` varchar(255) NULL COMMENT '用户博客地址',
    `profile_image_url` varchar(255) NULL COMMENT 'Sina 自定义头像地址',
    `gender` varchar(8) NULL COMMENT '',
    `expires_time` int(10) NULL DEFAULT '0' COMMENT '过期时间',
    `access_token` varchar(64) NULL COMMENT '',
    `last_msg_id` bigint(20) NULL COMMENT '',
    KEY `weibo_id` (`weibo_id`),
    KEY `uid` (`uid`),
    KEY `okayapi_sina_weibo_name` (`okayapi_sina_weibo_name`),
    KEY `location` (`location`),
    KEY `description` (`description`),
    KEY `url` (`url`),
    KEY `profile_image_url` (`profile_image_url`),
    KEY `gender` (`gender`),
    KEY `expires_time` (`expires_time`),
    KEY `access_token` (`access_token`),
    KEY `last_msg_id` (`last_msg_id`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT '新浪微博登录';

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


MySQL database table structure design

Displaying 1-11 of 11 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
weibo_idbigint(11)新浪用户 ID
uidint(11)用户在本地的UID
okayapi_sina_weibo_namevarchar(64)微博昵称
locationvarchar(255)地址
descriptiontext个人描述
urlvarchar(255)用户博客地址
profile_image_urlvarchar(255)Sina 自定义头像地址
gendervarchar(8)
expires_timeint(10)0过期时间0
access_tokenvarchar(64)
last_msg_idbigint(20)

Guess You Like

MySQL Table Design okayapi_question

MySQL Table Design okayapi_report

MySQL Table Design okayapi_topic

MySQL Table Design okayapi_social_users

MySQL Table Design okayapi_ucenter

TOP ↑