Skip to content

Commit

Permalink
fix warning in migration
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslandoga committed May 24, 2024
1 parent 5881f1c commit 4ce628f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ 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}
DROP COLUMN #{alias_name}
"""
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}
Expand Down

0 comments on commit 4ce628f

Please sign in to comment.