From b465924bab61eb98f0d606b9af6f807e689edd9d Mon Sep 17 00:00:00 2001 From: nityanandagohain Date: Mon, 9 Oct 2023 13:54:01 +0530 Subject: [PATCH] fix: migration reapply issue fixed for logs --- .../migrations/000005_attribute_rename.up.sql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/exporter/clickhouselogsexporter/migrations/000005_attribute_rename.up.sql b/exporter/clickhouselogsexporter/migrations/000005_attribute_rename.up.sql index ff44581f..0e459b32 100644 --- a/exporter/clickhouselogsexporter/migrations/000005_attribute_rename.up.sql +++ b/exporter/clickhouselogsexporter/migrations/000005_attribute_rename.up.sql @@ -1,3 +1,6 @@ +-- We are dropping logs_attribute_keys as we are renaming logs_atrribute_keys in the next line +DROP TABLE IF EXISTS signoz_logs.logs_attribute_keys on CLUSTER cluster; + RENAME TABLE IF EXISTS signoz_logs.logs_atrribute_keys TO signoz_logs.logs_attribute_keys on CLUSTER cluster;