Fix warning in migration (#4133)

This commit is contained in:
ruslandoga 2024-05-24 21:26:25 +07:00 committed by GitHub
parent 206a6543f6
commit a139e8295c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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}