From 58d3a23ae3235efde7214e1adc198c9ccac814b5 Mon Sep 17 00:00:00 2001 From: Sampras lopes Date: Mon, 22 Jan 2024 18:09:48 +0530 Subject: [PATCH] fix(clickhouse): update source table names --- crates/analytics/src/clickhouse.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/analytics/src/clickhouse.rs b/crates/analytics/src/clickhouse.rs index 5ddfa8b8721..00ae3b6e310 100644 --- a/crates/analytics/src/clickhouse.rs +++ b/crates/analytics/src/clickhouse.rs @@ -356,11 +356,11 @@ impl ToSql for AnalyticsCollection { match self { Self::Payment => Ok("payment_attempts".to_string()), Self::Refund => Ok("refunds".to_string()), - Self::SdkEvents => Ok("sdk_events".to_string()), - Self::ApiEvents => Ok("api_events".to_string()), + Self::SdkEvents => Ok("sdk_events_audit".to_string()), + Self::ApiEvents => Ok("api_events_audit".to_string()), Self::PaymentIntent => Ok("payment_intents".to_string()), - Self::ConnectorEvents => Ok("connector_events".to_string()), - Self::OutgoingWebhookEvent => Ok("outgoing_webhook_events".to_string()), + Self::ConnectorEvents => Ok("connector_events_audit".to_string()), + Self::OutgoingWebhookEvent => Ok("outgoing_webhook_events_audit".to_string()), } } }