+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_shopxo_s_power:/tablelist/okayapi_shopxo_s_power.html


-- MySQL Table okayapi_shopxo_s_power
-- From: OkayAPI.com
CREATE TABLE `okayapi_shopxo_s_power` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `pid` int(11) NOT NULL DEFAULT '0' COMMENT '权限父级id',
    `okayapi_shopxo_s_power_name` char(30) NOT NULL COMMENT '权限名称',
    `control` char(30) NOT NULL COMMENT '控制器名称',
    `okayapi_shopxo_s_power_action` char(30) NOT NULL COMMENT '方法名称',
    `sort` tinyint(3) NOT NULL DEFAULT '0' COMMENT '排序',
    `is_show` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否显示(0否,1是)',
    `icon` char(60) NOT NULL COMMENT '图标class',
    KEY `pid` (`pid`),
    KEY `okayapi_shopxo_s_power_name` (`okayapi_shopxo_s_power_name`),
    KEY `control` (`control`),
    KEY `okayapi_shopxo_s_power_action` (`okayapi_shopxo_s_power_action`),
    KEY `sort` (`sort`),
    KEY `is_show` (`is_show`),
    KEY `icon` (`icon`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'ShopXO商城-权限';

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


MySQL database table structure design

Displaying 1-7 of 7 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
pidint(11)0权限父级id0
okayapi_shopxo_s_power_namechar(30)权限名称
controlchar(30)控制器名称
okayapi_shopxo_s_power_actionchar(30)方法名称
sorttinyint(3)0排序0
is_showtinyint(1)1是否显示(0否,1是)1
iconchar(60)图标class

Guess You Like

MySQL Table Design okayapi_goods

MySQL Table Design okayapi_goods_comment

MySQL Table Design okayapi_shopxo_s_admin

MySQL Table Design okayapi_shopxo_s_answer

MySQL Table Design okayapi_shopxo_s_app_center_nav

MySQL Table Design okayapi_shopxo_s_app_home_nav

MySQL Table Design okayapi_shopxo_s_article

MySQL Table Design okayapi_shopxo_s_article_category

MySQL Table Design okayapi_shopxo_s_attachment

MySQL Table Design okayapi_shopxo_s_brand

MySQL Table Design okayapi_shopxo_s_brand_category

MySQL Table Design okayapi_shopxo_s_cart

MySQL Table Design okayapi_shopxo_s_config

MySQL Table Design okayapi_shopxo_s_custom_view

MySQL Table Design okayapi_shopxo_s_express

MySQL Table Design okayapi_shopxo_s_goods

MySQL Table Design okayapi_shopxo_s_goods_browse

MySQL Table Design okayapi_shopxo_s_goods_category

MySQL Table Design okayapi_shopxo_s_goods_category_join

MySQL Table Design okayapi_shopxo_s_goods_comments

TOP ↑