shebao_admin_data20151014_sys_user.sql 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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_user` */
  15. DROP TABLE IF EXISTS `sys_user`;
  16. CREATE TABLE `sys_user` (
  17. `id` int(20) NOT NULL AUTO_INCREMENT COMMENT '用户ID',
  18. `name` varchar(30) NOT NULL DEFAULT '' COMMENT '名称',
  19. `password` varchar(50) NOT NULL DEFAULT '' COMMENT '密码',
  20. `enabled` varchar(1) NOT NULL DEFAULT '' COMMENT '状态',
  21. PRIMARY KEY (`id`),
  22. UNIQUE KEY `INDEX_USER_NAME` (`name`)
  23. ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='系统用户表';
  24. /*Data for the table `sys_user` */
  25. insert into `sys_user`(`id`,`name`,`password`,`enabled`) values (1,'admin','d2f69715e1d2f5be2dd331099875fdfd','1'),(2,'shanpin','d432eeff84a49601a87eaf1d80cf2d14','1'),(3,'super','af8dae1f3ae051b9388aa66f8b1f469c','1');
  26. /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
  27. /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
  28. /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
  29. /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;