evaluation.sql 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. /*
  2. Navicat MySQL Data Transfer
  3. Source Server : company
  4. Source Server Version : 50720
  5. Source Host : localhost:3306
  6. Source Database : evaluation
  7. Target Server Type : MYSQL
  8. Target Server Version : 50720
  9. File Encoding : 65001
  10. Date: 2019-12-10 09:36:39
  11. */
  12. SET FOREIGN_KEY_CHECKS=0;
  13. -- ----------------------------
  14. -- Table structure for `admin`
  15. -- ----------------------------
  16. DROP TABLE IF EXISTS `admin`;
  17. CREATE TABLE `admin` (
  18. `id` int(11) NOT NULL AUTO_INCREMENT,
  19. `name` text NOT NULL,
  20. `password` text NOT NULL,
  21. PRIMARY KEY (`id`)
  22. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
  23. -- ----------------------------
  24. -- Records of admin
  25. -- ----------------------------
  26. INSERT INTO `admin` VALUES ('1', 'admin', 'admin123456');
  27. -- ----------------------------
  28. -- Table structure for `evaluation`
  29. -- ----------------------------
  30. DROP TABLE IF EXISTS `evaluation`;
  31. CREATE TABLE `evaluation` (
  32. `id` int(11) NOT NULL AUTO_INCREMENT,
  33. `station` text NOT NULL,
  34. `date` text NOT NULL,
  35. `excellent` int(11) NOT NULL,
  36. `good` int(11) NOT NULL,
  37. `ordinary` int(11) NOT NULL,
  38. `bad` int(11) NOT NULL,
  39. `abandoned` int(11) NOT NULL,
  40. PRIMARY KEY (`id`)
  41. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  42. -- ----------------------------
  43. -- Records of evaluation
  44. -- ----------------------------
  45. -- ----------------------------
  46. -- Table structure for `record`
  47. -- ----------------------------
  48. DROP TABLE IF EXISTS `record`;
  49. CREATE TABLE `record` (
  50. `id` int(11) NOT NULL AUTO_INCREMENT,
  51. `user` text NOT NULL,
  52. `type` text NOT NULL,
  53. `value` text NOT NULL,
  54. `ip` text NOT NULL,
  55. `time` text NOT NULL,
  56. PRIMARY KEY (`id`)
  57. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
  58. -- ----------------------------
  59. -- Records of record
  60. -- ----------------------------
  61. INSERT INTO `record` VALUES ('1', 'admin', 'login', '', '127.0.0.1', '2019-12-10 08:40:03');
  62. -- ----------------------------
  63. -- Table structure for `station`
  64. -- ----------------------------
  65. DROP TABLE IF EXISTS `station`;
  66. CREATE TABLE `station` (
  67. `id` text NOT NULL,
  68. `name` text NOT NULL,
  69. `disable` int(11) NOT NULL DEFAULT '0',
  70. `active` text,
  71. PRIMARY KEY (`id`(8))
  72. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  73. -- ----------------------------
  74. -- Records of station
  75. -- ----------------------------