1234567891011121314151617181920212223242526272829303132333435363738 |
- /*
- SQLyog Ultimate v11.11 (64 bit)
- MySQL - 5.6.24 : Database - shebao_admin
- *********************************************************************
- */
- /*!40101 SET NAMES utf8 */;
- /*!40101 SET SQL_MODE=''*/;
- /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
- /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
- /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
- /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
- CREATE DATABASE /*!32312 IF NOT EXISTS*/`shebao_admin` /*!40100 DEFAULT CHARACTER SET latin1 */;
- USE `shebao_admin`;
- /*Table structure for table `sys_role_menu` */
- DROP TABLE IF EXISTS `sys_role_menu`;
- CREATE TABLE `sys_role_menu` (
- `role_id` varchar(20) NOT NULL DEFAULT '0' COMMENT '角色ID',
- `menu_id` varchar(20) NOT NULL DEFAULT '0' COMMENT '菜单ID',
- PRIMARY KEY (`role_id`,`menu_id`),
- KEY `fk_menu_role_menu` (`role_id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='菜单角色关联表';
- /*Data for the table `sys_role_menu` */
- insert into `sys_role_menu`(`role_id`,`menu_id`) values ('13','8'),('2','10'),('2','11'),('2','12'),('2','13'),('2','14'),('2','15'),('2','16'),('2','17'),('2','4'),('2','5'),('2','6'),('2','7'),('2','8'),('2','9'),('3','10'),('3','11'),('3','12'),('3','4'),('3','5'),('3','6'),('3','7'),('3','8'),('3','9');
- /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
- /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
- /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
- /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|