Skip to content

Commit

Permalink
perf: add index for partner_users :upgraded field
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziinc committed Feb 3, 2025
1 parent 9cfd11d commit 88619bc
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
defmodule Logflare.Repo.Migrations.CreateIndexForUsersPartnersUpgraded do
use Ecto.Migration

def change do
create index(:partner_users_upgraded,[:partner_id, :user_id, :upgraded])
end
end

0 comments on commit 88619bc

Please sign in to comment.