+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_zd_user_auth:/tablelist/okayapi_zd_user_auth.html


-- MySQL Table okayapi_zd_user_auth
-- From: OkayAPI.com
CREATE TABLE `okayapi_zd_user_auth` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `user_id` bigint(20) NULL COMMENT '用户ID',
    `auth_id` bigint(20) NULL COMMENT '权限ID',
    `create_uid` bigint(20) NULL COMMENT '创建用户ID',
    `update_uid` bigint(20) NULL COMMENT '更新用户ID',
    `del_flag` tinyint(4) NULL DEFAULT '0' COMMENT '是否删除 0=未删除 1=已删除',
    `auth_custom_suffix` varchar(100) NULL COMMENT '自定义权限结尾',
    KEY `user_id` (`user_id`),
    KEY `auth_id` (`auth_id`),
    KEY `create_uid` (`create_uid`),
    KEY `update_uid` (`update_uid`),
    KEY `del_flag` (`del_flag`),
    KEY `auth_custom_suffix` (`auth_custom_suffix`),
    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
user_idbigint(20)用户ID
auth_idbigint(20)权限ID
create_uidbigint(20)创建用户ID
update_uidbigint(20)更新用户ID
del_flagtinyint(4)0是否删除 0=未删除 1=已删除0
auth_custom_suffixvarchar(100)自定义权限结尾

Guess You Like

MySQL Table Design okayapi_zd_auth_info

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_favorite

MySQL Table Design okayapi_zd_db_history

TOP ↑