MySQL Create Table SQL
Table Structure: okayapi_shopxo_s_role_power:/tablelist/okayapi_shopxo_s_role_power.html
-- MySQL Table okayapi_shopxo_s_role_power
-- From: OkayAPI.com
CREATE TABLE `okayapi_shopxo_s_role_power` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`role_id` int(11) NOT NULL DEFAULT '0' COMMENT '角色id',
`power_id` int(11) NOT NULL DEFAULT '0' COMMENT '权限id',
KEY `role_id` (`role_id`),
KEY `power_id` (`power_id`),
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-2 of 2 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
role_id | int(11) | 0 | 否 | 角色id | Normal Index | 0 |
power_id | int(11) | 0 | 否 | 权限id | Normal Index | 0 |