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` */
- DROP TABLE IF EXISTS `sys_role`;
- CREATE TABLE `sys_role` (
- `id` int(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
- `name` varchar(50) NOT NULL DEFAULT '' COMMENT '名称',
- `enabled` varchar(1) NOT NULL DEFAULT '' COMMENT '状态',
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8 COMMENT='系统角色表';
- /*Data for the table `sys_role` */
- insert into `sys_role`(`id`,`name`,`enabled`) values (1,'ROLE_USER','1'),(2,'ROLE_SUPER_ADMIN ','1'),(3,'ROLE_ADMIN ','1'),(4,'ROLE_ADMIN_SB','1'),(5,'ROLE_ADMIN_FUND','1'),(6,'ROLE_ADMIN_CHARGE','1'),(7,'ROLE_ADMIN_ORDER','1'),(8,'ROLE_ADMIN_EMPLOYEE','1'),(9,'ROLE_ADMIN_USER','1'),(10,'ROLE_ADMIN_SYSTEM_USER','1'),(11,'ROLE_ADMIN_SYSTEM_ROLE','1'),(12,'ROLE_ADMIN_SYSTEM_PRIVILEGE','1'),(13,'ROLE_ADMIN_NEWS','1');
- /*!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 */;
|