shebao_admin_data20151014_sys_role.sql 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. SQLyog Ultimate v11.11 (64 bit)
  3. MySQL - 5.6.24 : Database - shebao_admin
  4. *********************************************************************
  5. */
  6. /*!40101 SET NAMES utf8 */;
  7. /*!40101 SET SQL_MODE=''*/;
  8. /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
  9. /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
  10. /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
  11. /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
  12. CREATE DATABASE /*!32312 IF NOT EXISTS*/`shebao_admin` /*!40100 DEFAULT CHARACTER SET latin1 */;
  13. USE `shebao_admin`;
  14. /*Table structure for table `sys_role` */
  15. DROP TABLE IF EXISTS `sys_role`;
  16. CREATE TABLE `sys_role` (
  17. `id` int(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  18. `name` varchar(50) NOT NULL DEFAULT '' COMMENT '名称',
  19. `enabled` varchar(1) NOT NULL DEFAULT '' COMMENT '状态',
  20. PRIMARY KEY (`id`)
  21. ) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8 COMMENT='系统角色表';
  22. /*Data for the table `sys_role` */
  23. 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');
  24. /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
  25. /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
  26. /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
  27. /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;