+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_zd_wiki_space:/tablelist/okayapi_zd_wiki_space.html


-- MySQL Table okayapi_zd_wiki_space
-- From: OkayAPI.com
CREATE TABLE `okayapi_zd_wiki_space` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `name` varchar(50) NOT NULL COMMENT '空间名',
    `type` tinyint(4) NOT NULL DEFAULT '1' COMMENT '空间类型 1=公司 2=个人 3=私人',
    `space_explain` varchar(255) NOT NULL COMMENT '描述',
    `edit_type` tinyint(4) NOT NULL DEFAULT '0' COMMENT '编辑类型 0=可编辑 1=不允许编辑',
    `tree_lazy_load` tinyint(4) NOT NULL DEFAULT '0' COMMENT '目录延迟加载 0=否 1=是',
    `open_doc` tinyint(4) NOT NULL DEFAULT '0' COMMENT '是否是开放文档 0=否 1=是',
    `create_user_id` bigint(20) NOT NULL COMMENT '创建人ID',
    `create_user_name` varchar(20) NOT NULL COMMENT '创建人名字',
    `del_flag` tinyint(4) NOT NULL DEFAULT '0' COMMENT '删除标记 0=正常 1=已删除',
    KEY `name` (`name`),
    KEY `type` (`type`),
    KEY `space_explain` (`space_explain`),
    KEY `edit_type` (`edit_type`),
    KEY `tree_lazy_load` (`tree_lazy_load`),
    KEY `open_doc` (`open_doc`),
    KEY `create_user_id` (`create_user_id`),
    KEY `create_user_name` (`create_user_name`),
    KEY `del_flag` (`del_flag`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'WIKI-WIKI空间';

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


MySQL database table structure design

Displaying 1-9 of 9 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
namevarchar(50)空间名
typetinyint(4)1空间类型 1=公司 2=个人 3=私人1
space_explainvarchar(255)描述
edit_typetinyint(4)0编辑类型 0=可编辑 1=不允许编辑0
tree_lazy_loadtinyint(4)0目录延迟加载 0=否 1=是0
open_doctinyint(4)0是否是开放文档 0=否 1=是0
create_user_idbigint(20)创建人ID
create_user_namevarchar(20)创建人名字
del_flagtinyint(4)0删除标记 0=正常 1=已删除0

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_zyplayer_storage

MySQL Table Design okayapi_zd_db_favorite

MySQL Table Design okayapi_zd_db_history

TOP ↑