fix: delete trace_data invalid timestamp

This commit is contained in:
simonzhangsz committed 2023-10-24 10:30:41 +08:00
1 parent 1ffbd335dd
commit a1108c0fbe
2 files changed
+2

No files matched your search

+1
View File
@@ -80,6 +80,7 @@ MODIFY COLUMN `id` int(10) NOT NULL AUTO_INCREMENT FIRST;
ALTER TABLE `omc_db`.`param_config`
ADD COLUMN IF NOT EXISTS `method` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '*' COMMENT 'method allow: \"get\", \"get,post,put\", \"*\"' AFTER `top_display`;
DELETE FROM trace_data WHERE timestamp LIKE '2023-%';
ALTER TABLE `omc_db`.`trace_data`
MODIFY COLUMN `timestamp` bigint NULL DEFAULT NULL AFTER `msg_direct`;
+1
View File
@@ -80,6 +80,7 @@ MODIFY COLUMN `id` int(10) NOT NULL AUTO_INCREMENT FIRST;
ALTER TABLE `omc_db`.`param_config`
ADD COLUMN IF NOT EXISTS `method` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '*' COMMENT 'method allow: \"get\", \"get,post,put\", \"*\"' AFTER `top_display`;
DELETE FROM trace_data WHERE timestamp LIKE '2023-%';
ALTER TABLE `omc_db`.`trace_data`
MODIFY COLUMN `timestamp` bigint NULL DEFAULT NULL AFTER `msg_direct`;