+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_zd_wiki_page_file:/tablelist/okayapi_zd_wiki_page_file.html


-- MySQL Table okayapi_zd_wiki_page_file
-- From: OkayAPI.com
CREATE TABLE `okayapi_zd_wiki_page_file` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `page_id` bigint(20) NOT NULL COMMENT '页面ID',
    `file_name` varchar(50) NOT NULL COMMENT '文件名',
    `file_url` varchar(256) NOT NULL COMMENT '文件URL',
    `create_user_id` bigint(20) NOT NULL COMMENT '创建人ID',
    `create_user_name` varchar(20) NOT NULL COMMENT '创建人名字',
    `update_user_id` bigint(20) NOT NULL COMMENT '修改人ID',
    `update_user_name` varchar(20) NOT NULL COMMENT '修改人名字',
    `del_flag` tinyint(4) NOT NULL DEFAULT '0' COMMENT '0=有效 1=删除',
    `download_num` int(11) NOT NULL DEFAULT '0' COMMENT '下载次数',
    KEY `page_id` (`page_id`),
    KEY `file_name` (`file_name`),
    KEY `file_url` (`file_url`),
    KEY `create_user_id` (`create_user_id`),
    KEY `create_user_name` (`create_user_name`),
    KEY `update_user_id` (`update_user_id`),
    KEY `update_user_name` (`update_user_name`),
    KEY `del_flag` (`del_flag`),
    KEY `download_num` (`download_num`),
    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
page_idbigint(20)页面ID
file_namevarchar(50)文件名
file_urlvarchar(256)文件URL
create_user_idbigint(20)创建人ID
create_user_namevarchar(20)创建人名字
update_user_idbigint(20)修改人ID
update_user_namevarchar(20)修改人名字
del_flagtinyint(4)00=有效 1=删除0
download_numint(11)0下载次数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_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_favorite

MySQL Table Design okayapi_zd_db_history

TOP ↑