Skip to content

Commit

Permalink
Fix warning in migration (#4133)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslandoga committed May 24, 2024
1 parent 206a654 commit a139e82
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 a139e82

Please sign in to comment.