Quellcode durchsuchen

任务来源:机场

任务描述:添加sql管理
develop
wubin vor 1 Jahr
Ursprung
Commit
40e4289335
3 geänderte Dateien mit 21392 neuen und 0 gelöschten Zeilen
  1. +21375
    -0
      tuoheng-admin/sql/V1/开发环境5.19备份tuoheng_airport.sql
  2. +17
    -0
      tuoheng-admin/sql/V2/tuoheng_airport_platform_DDL.sql
  3. +0
    -0
      tuoheng-admin/sql/V2/tuoheng_airport_platform_DML.sql

+ 21375
- 0
tuoheng-admin/sql/V1/开发环境5.19备份tuoheng_airport.sql
Datei-Diff unterdrückt, da er zu groß ist
Datei anzeigen


+ 17
- 0
tuoheng-admin/sql/V2/tuoheng_airport_platform_DDL.sql Datei anzeigen

@@ -0,0 +1,17 @@
DROP TABLE IF EXISTS `th_alarm`;
CREATE TABLE `th_alarm` (
`id` int(0) UNSIGNED NOT NULL AUTO_INCREMENT,
`airport_id` int(0) NULL DEFAULT NULL COMMENT '机场ID',
`edge_Id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '控制板id',
`timestamp` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '时间戳,日志发送的时间 (单位: S)',
`type` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '日志类型(log: 常规日志;error: 错误日志; critical: 紧急日志)',
`data` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '消息主体',
`critical` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '紧急消息主体',
`result` int(0) NULL DEFAULT NULL COMMENT '是否处理, 1 : 已处理, 0: 未处理',
`create_user` int(0) NULL DEFAULT NULL,
`create_time` datetime(0) NULL DEFAULT NULL,
`update_user` int(0) NULL DEFAULT NULL,
`update_time` datetime(0) NULL DEFAULT NULL,
`mark` int(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 15 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '机场告警记录表' ROW_FORMAT = Dynamic;

+ 0
- 0
tuoheng-admin/sql/V2/tuoheng_airport_platform_DML.sql Datei anzeigen


Laden…
Abbrechen
Speichern