+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_zheng_upms_user_permission:/tablelist/okayapi_zheng_upms_user_permission.html


-- MySQL Table okayapi_zheng_upms_user_permission
-- From: OkayAPI.com
CREATE TABLE `okayapi_zheng_upms_user_permission` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `user_id` int(10) NOT NULL COMMENT '用户编号',
    `permission_id` int(10) NOT NULL COMMENT '权限编号',
    `okayapi_zheng_upms_user_permission_type` tinyint(4) NOT NULL COMMENT '权限类型(-1:减权限,1:增权限)',
    KEY `user_id` (`user_id`),
    KEY `permission_id` (`permission_id`),
    KEY `okayapi_zheng_upms_user_permission_type` (`okayapi_zheng_upms_user_permission_type`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'zheng敏捷开发-用户权限关联表';

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


MySQL database table structure design

Displaying 1-3 of 3 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
user_idint(10)用户编号
permission_idint(10)权限编号
okayapi_zheng_upms_user_permission_typetinyint(4)权限类型(-1:减权限,1:增权限)

Guess You Like

MySQL Table Design okayapi_logs

MySQL Table Design okayapi_app_version

MySQL Table Design okayapi_tea

MySQL Table Design okayapi_tea_swiper

MySQL Table Design okayapi_tea_moment

MySQL Table Design okayapi_tea_order

MySQL Table Design okayapi_tea_user

MySQL Table Design okayapi_tea_shopcar

MySQL Table Design okayapi_zheng_cms_article

MySQL Table Design okayapi_zheng_cms_article_category

MySQL Table Design okayapi_zheng_cms_article_tag

MySQL Table Design okayapi_zheng_cms_category

MySQL Table Design okayapi_zheng_cms_comment

MySQL Table Design okayapi_zheng_cms_page

MySQL Table Design okayapi_zheng_cms_setting

MySQL Table Design okayapi_zheng_cms_system

MySQL Table Design okayapi_zheng_cms_tag

MySQL Table Design okayapi_zheng_cms_topic

MySQL Table Design okayapi_zheng_pay_in_order

MySQL Table Design okayapi_zheng_pay_in_order_detail

TOP ↑