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 Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
pid | int(11) | 0 | 否 | 权限父级id | 0 | |
okayapi_shopxo_s_power_name | char(30) | 否 | 权限名称 | |||
control | char(30) | 否 | 控制器名称 | |||
okayapi_shopxo_s_power_action | char(30) | 否 | 方法名称 | |||
sort | tinyint(3) | 0 | 否 | 排序 | 0 | |
is_show | tinyint(1) | 1 | 否 | 是否显示(0否,1是) | 1 | |
icon | char(60) | 否 | 图标class |