applications.sql 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /*
  2. Navicat Premium Data Transfer
  3. Source Server : 主机
  4. Source Server Type : MySQL
  5. Source Server Version : 50726
  6. Source Host : localhost:3306
  7. Source Schema : admin
  8. Target Server Type : MySQL
  9. Target Server Version : 50726
  10. File Encoding : 65001
  11. Date: 11/10/2021 16:57:35
  12. */
  13. SET NAMES utf8mb4;
  14. SET FOREIGN_KEY_CHECKS = 0;
  15. -- ----------------------------
  16. -- Table structure for applications
  17. -- ----------------------------
  18. DROP TABLE IF EXISTS `applications`;
  19. CREATE TABLE `applications`
  20. (
  21. `application_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '名称',
  22. `application_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '应用ID',
  23. `application_version` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '应用版本',
  24. `application_status` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '应用状态',
  25. `parent_project_name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '所属项目名称',
  26. `create_time` datetime NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '创建时间',
  27. `creator_name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '创建者名称',
  28. `application_description` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '描述信息',
  29. `application_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '应用类型:水文 采矿',
  30. PRIMARY KEY (`application_id`) USING BTREE
  31. ) ENGINE = InnoDB
  32. AUTO_INCREMENT = 18
  33. CHARACTER SET = utf8mb4
  34. COLLATE = utf8mb4_bin COMMENT = '应用管理的表'
  35. ROW_FORMAT = Dynamic;
  36. -- ----------------------------
  37. -- Records of applications
  38. -- ----------------------------
  39. INSERT INTO `applications`
  40. VALUES ('test1', 14, 'v1', '运行中', 'mkcloud', '2021-09-28 12:28:47', 'admin', '', '水文');
  41. INSERT INTO `applications`
  42. VALUES ('ewr', 15, 'v1', '运行中', 'mkcloud', '2021-09-30 13:14:15', 'admin', '', '水文');
  43. INSERT INTO `applications`
  44. VALUES ('tesde', 17, 'v1', '运行中', 'mkcloud', '2021-10-11 15:04:37', 'admin', 'dfs', '采矿');
  45. SET FOREIGN_KEY_CHECKS = 1;