+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_zd_db_favorite:/tablelist/okayapi_zd_db_favorite.html


-- MySQL Table okayapi_zd_db_favorite
-- From: OkayAPI.com
CREATE TABLE `okayapi_zd_db_favorite` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `datasource_id` bigint(20) NULL COMMENT '数据源ID',
    `name` varchar(50) NULL COMMENT '收藏标题',
    `content` varchar(10000) NULL COMMENT '收藏内容',
    `create_user_id` bigint(20) NULL COMMENT '创建人ID',
    `create_user_name` varchar(20) NULL COMMENT '创建人名字',
    `yn` tinyint(4) NULL COMMENT '是否有效 0=无效 1=有效',
    KEY `datasource_id` (`datasource_id`),
    KEY `name` (`name`),
    KEY `content` (`content`),
    KEY `create_user_id` (`create_user_id`),
    KEY `create_user_name` (`create_user_name`),
    KEY `yn` (`yn`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'WIKI-收藏';

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


MySQL database table structure design

Displaying 1-6 of 6 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
datasource_idbigint(20)数据源ID
namevarchar(50)收藏标题
contentvarchar(10000)收藏内容
create_user_idbigint(20)创建人ID
create_user_namevarchar(20)创建人名字
yntinyint(4)是否有效 0=无效 1=有效

Guess You Like

MySQL Table Design okayapi_zd_auth_info

MySQL Table Design okayapi_zd_user_auth

MySQL Table Design okayapi_zd_user_info

MySQL Table Design okayapi_zd_wiki_page

MySQL Table Design okayapi_zd_wiki_page_comment

MySQL Table Design okayapi_zd_wiki_page_content

MySQL Table Design okayapi_zd_wiki_page_file

MySQL Table Design okayapi_zd_wiki_page_history

MySQL Table Design okayapi_zd_wiki_page_zan

MySQL Table Design okayapi_zd_wiki_space

MySQL Table Design okayapi_zd_zyplayer_storage

MySQL Table Design okayapi_zd_db_history

TOP ↑