+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_friend:/tablelist/okayapi_friend.html


-- MySQL Table okayapi_friend
-- From: OkayAPI.com
CREATE TABLE `okayapi_friend` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `friend_uuid` varchar(32) NOT NULL COMMENT '好友uuid',
    `friend_username` varchar(100) NOT NULL COMMENT '好友账号',
    `friend_status` tinyint(4) NOT NULL DEFAULT '1' COMMENT '关系状态,0新好友,1正常,2黑名单',
    `friend_note` varchar(50) NOT NULL COMMENT '好友备注',
    `friend_group` varchar(50) NOT NULL COMMENT '好友分组',
    `friend_message` varchar(100) NOT NULL COMMENT '添加留言',
    `friend_add_direction` varchar(100) NOT NULL COMMENT '添加方式(in,out)',
    KEY `friend_uuid` (`friend_uuid`),
    KEY `friend_username` (`friend_username`),
    KEY `friend_status` (`friend_status`),
    KEY `friend_note` (`friend_note`),
    KEY `friend_group` (`friend_group`),
    KEY `friend_message` (`friend_message`),
    KEY `friend_add_direction` (`friend_add_direction`),
    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-7 of 7 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
friend_uuidvarchar(32)好友uuidNormal Index
friend_usernamevarchar(100)好友账号
friend_statustinyint(4)1关系状态,0新好友,1正常,2黑名单1
friend_notevarchar(50)好友备注
friend_groupvarchar(50)好友分组
friend_messagevarchar(100)添加留言
friend_add_directionvarchar(100)添加方式(in,out)

Guess You Like

MySQL Table Design okayapi_mobile

MySQL Table Design okayapi_qq

MySQL Table Design okayapi_rank

MySQL Table Design okayapi_moment

MySQL Table Design okayapi_user

MySQL Table Design okayapi_qq_login

MySQL Table Design okayapi_lend_book

MySQL Table Design okayapi_charter_car_info

MySQL Table Design okayapi_charter_car_book

TOP ↑