Skip to content

Commit

Permalink
perf: add index for partner_users :upgraded field (#2308)
Browse files Browse the repository at this point in the history
* perf: add index for partner_users :upgraded field

* chore: fix migration
  • Loading branch information
Ziinc authored Feb 6, 2025
1 parent 5233078 commit 80f3b76
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,[:partner_id, :user_id, :upgraded])
end
end

0 comments on commit 80f3b76

Please sign in to comment.