onepage.sql 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. -- MySQL dump 10.13 Distrib 5.5.43, for debian-linux-gnu (x86_64)
  2. --
  3. -- Host: 192.168.12.4 Database: onepage_v1
  4. -- ------------------------------------------------------
  5. -- Server version 5.5.38-0+wheezy1-log
  6. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  7. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  8. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  9. /*!40101 SET NAMES utf8 */;
  10. /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
  11. /*!40103 SET TIME_ZONE='+00:00' */;
  12. /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
  13. /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
  14. /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
  15. /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
  16. --
  17. -- Table structure for table `back_user`
  18. --
  19. DROP TABLE IF EXISTS `back_user`;
  20. /*!40101 SET @saved_cs_client = @@character_set_client */;
  21. /*!40101 SET character_set_client = utf8 */;
  22. CREATE TABLE `back_user` (
  23. `uid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  24. `name` char(40) NOT NULL DEFAULT '',
  25. `password` char(16) NOT NULL DEFAULT '',
  26. `email` char(50) NOT NULL DEFAULT '',
  27. `project` char(50) NOT NULL DEFAULT '' COMMENT '用户所属项目',
  28. `permission` char(10) NOT NULL DEFAULT '',
  29. `extend` text NOT NULL DEFAULT '',
  30. `create_time` int(10) unsigned NOT NULL DEFAULT 0,
  31. `update_time` int(10) unsigned NOT NULL DEFAULT 0,
  32. `cas_token` int(10) unsigned NOT NULL DEFAULT 0,
  33. PRIMARY KEY (`uid`),
  34. UNIQUE KEY `name_project` (`name`,`project`),
  35. KEY `project` (`project`)
  36. ) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COMMENT='后台用户';
  37. /*!40101 SET character_set_client = @saved_cs_client */;
  38. --
  39. -- Table structure for table `platform_bulletin`
  40. --
  41. DROP TABLE IF EXISTS `platform_bulletin`;
  42. /*!40101 SET @saved_cs_client = @@character_set_client */;
  43. /*!40101 SET character_set_client = utf8 */;
  44. CREATE TABLE `platform_bulletin` (
  45. `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'bulletinID',
  46. `title` varchar(100) NOT NULL DEFAULT '' COMMENT '标题',
  47. `content` text NOT NULL DEFAULT '' COMMENT '内容',
  48. `operator_uid` int(11) NOT NULL DEFAULT '0' COMMENT '操作ID',
  49. `extend` text NOT NULL DEFAULT '',
  50. `create_time` int(10) unsigned NOT NULL DEFAULT 0,
  51. `update_time` int(10) unsigned NOT NULL DEFAULT 0,
  52. `cas_token` int(10) unsigned NOT NULL DEFAULT 0,
  53. PRIMARY KEY (`id`)
  54. ) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COMMENT='平台公告';
  55. /*!40101 SET character_set_client = @saved_cs_client */;
  56. /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
  57. /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
  58. /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
  59. /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
  60. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  61. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  62. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
  63. /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
  64. -- Dump completed on 2016-01-21 14:51:30