seat_tools.sql 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. /*
  2. Navicat Premium Data Transfer
  3. Source Server : 8.140.240.182
  4. Source Server Type : MySQL
  5. Source Server Version : 50743
  6. Source Host : 8.140.240.182:18080
  7. Source Schema : seat-tool
  8. Target Server Type : MySQL
  9. Target Server Version : 50743
  10. File Encoding : 65001
  11. Date: 05/02/2024 11:09:41
  12. */
  13. SET NAMES utf8mb4;
  14. SET FOREIGN_KEY_CHECKS = 0;
  15. -- ----------------------------
  16. -- Table structure for ship_test_params
  17. -- ----------------------------
  18. DROP TABLE IF EXISTS `ship_test_params`;
  19. CREATE TABLE `ship_test_params` (
  20. `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
  21. `remark` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
  22. `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '名称',
  23. `sort` int(255) NULL DEFAULT NULL COMMENT '排序',
  24. `del_flag` int(255) NULL DEFAULT 0 COMMENT '删除状态(0-正常,1-已删除)',
  25. `create_time` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  26. `update_time` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  27. `source_id` int(11) NULL DEFAULT NULL COMMENT '数据源ID',
  28. `default_cql` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '默认cql',
  29. PRIMARY KEY (`id`) USING BTREE,
  30. INDEX `source_id`(`source_id`) USING BTREE,
  31. CONSTRAINT `ship_test_params_ibfk_1` FOREIGN KEY (`source_id`) REFERENCES `ship_test_source` (`id`) ON DELETE SET NULL ON UPDATE RESTRICT
  32. ) ENGINE = InnoDB AUTO_INCREMENT = 32 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '船舶轨迹测试数据源-参数配置' ROW_FORMAT = DYNAMIC;
  33. -- ----------------------------
  34. -- Table structure for ship_test_params_dict
  35. -- ----------------------------
  36. DROP TABLE IF EXISTS `ship_test_params_dict`;
  37. CREATE TABLE `ship_test_params_dict` (
  38. `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
  39. `remark` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
  40. `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '名称',
  41. `sort` int(255) NULL DEFAULT NULL COMMENT '排序',
  42. `del_flag` int(255) NULL DEFAULT 0 COMMENT '删除状态(0-正常,1-已删除)',
  43. `create_time` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  44. `update_time` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  45. `params_id` int(11) NULL DEFAULT NULL COMMENT '参数ID',
  46. `cql` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT 'cql过滤条件',
  47. `active` int(255) NULL DEFAULT 0 COMMENT '默认激活(0-激活,1-未激活)',
  48. PRIMARY KEY (`id`) USING BTREE,
  49. INDEX `source_id`(`params_id`) USING BTREE,
  50. CONSTRAINT `ship_test_params_dict_ibfk_1` FOREIGN KEY (`params_id`) REFERENCES `ship_test_params` (`id`) ON DELETE SET NULL ON UPDATE RESTRICT
  51. ) ENGINE = InnoDB AUTO_INCREMENT = 37 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '船舶轨迹测试数据源-参数配置_字典值' ROW_FORMAT = DYNAMIC;
  52. -- ----------------------------
  53. -- Table structure for ship_test_source
  54. -- ----------------------------
  55. DROP TABLE IF EXISTS `ship_test_source`;
  56. CREATE TABLE `ship_test_source` (
  57. `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
  58. `remark` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
  59. `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '名称',
  60. `sort` int(255) NULL DEFAULT NULL COMMENT '排序',
  61. `del_flag` int(255) NULL DEFAULT 0 COMMENT '删除状态(0-正常,1-已删除)',
  62. `create_time` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  63. `update_time` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  64. `tile_url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '瓦片地图地址',
  65. `tile_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '瓦片地图图层名称',
  66. `ws_url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'websocker地址',
  67. `ws_data_flag` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'websocker返回数据标识',
  68. `history_ws_url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '历史轨迹websocket地址',
  69. `history_ws_data_flag` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '历史轨迹websocket返回数据标识',
  70. PRIMARY KEY (`id`) USING BTREE
  71. ) ENGINE = InnoDB AUTO_INCREMENT = 29 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '船舶轨迹测试数据源' ROW_FORMAT = DYNAMIC;
  72. -- ----------------------------
  73. -- Table structure for ship_test_track
  74. -- ----------------------------
  75. DROP TABLE IF EXISTS `ship_test_track`;
  76. CREATE TABLE `ship_test_track` (
  77. `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
  78. `create_time` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  79. `update_time` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  80. `source_id` int(11) NULL DEFAULT NULL COMMENT '数据源ID',
  81. `track_key` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '轨迹唯一标识',
  82. `track_point_key` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '轨迹点唯一标识',
  83. `track_wkt_key` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '轨迹点wkt坐标标识',
  84. `track_speed_key` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '轨迹点速度标识',
  85. `track_course_key` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '轨迹点航向标识',
  86. `track_head_key` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '轨迹点船艏向标识',
  87. `history_track_key` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '历史轨迹唯一标识',
  88. `history_track_point_key` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '历史轨迹点唯一标识',
  89. `history_track_wkt_key` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '历史轨迹点wkt坐标标识',
  90. `history_track_speed_key` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '历史轨迹点速度标识',
  91. `history_track_course_key` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '历史轨迹点航向标识',
  92. `history_track_head_key` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '历史轨迹点船艏向标识',
  93. `del_flag` int(255) NULL DEFAULT 0 COMMENT '删除状态(0-正常,1-已删除)',
  94. PRIMARY KEY (`id`) USING BTREE,
  95. INDEX `source_id`(`source_id`) USING BTREE,
  96. CONSTRAINT `ship_test_track_ibfk_1` FOREIGN KEY (`source_id`) REFERENCES `ship_test_source` (`id`) ON DELETE SET NULL ON UPDATE RESTRICT
  97. ) ENGINE = InnoDB AUTO_INCREMENT = 34 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '船舶轨迹测试数据源-参数配置' ROW_FORMAT = DYNAMIC;
  98. SET FOREIGN_KEY_CHECKS = 1;