From a139e8295c145c90cd6ed03d96ff12cddbf51de5 Mon Sep 17 00:00:00 2001 From: ruslandoga Date: Fri, 24 May 2024 21:26:25 +0700 Subject: [PATCH] Fix warning in migration (#4133) --- .../migrations/20240502115822_alias_api_prop_names.exs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/priv/ingest_repo/migrations/20240502115822_alias_api_prop_names.exs b/priv/ingest_repo/migrations/20240502115822_alias_api_prop_names.exs index 6725500e9..dade0f87b 100644 --- a/priv/ingest_repo/migrations/20240502115822_alias_api_prop_names.exs +++ b/priv/ingest_repo/migrations/20240502115822_alias_api_prop_names.exs @@ -53,7 +53,7 @@ defmodule Plausible.IngestRepo.Migrations.AliasApiPropNames do def down do on_cluster = Plausible.MigrationUtils.on_cluster_statement("sessions_v2") - for {alias_name, column_name} <- @sessions_prop_names do + for {alias_name, _column_name} <- @sessions_prop_names do execute """ ALTER TABLE sessions_v2 #{on_cluster} @@ -61,7 +61,7 @@ defmodule Plausible.IngestRepo.Migrations.AliasApiPropNames do """ end - for {alias_name, column_name} <- @events_prop_names do + for {alias_name, _column_name} <- @events_prop_names do execute """ ALTER TABLE events_v2 #{on_cluster}