Migration: index for caching consolidated views (#5752)
This commit is contained in:
parent
36030b4bf7
commit
63a89cab8e
|
|
@ -0,0 +1,7 @@
|
||||||
|
defmodule Plausible.Repo.Migrations.ConsolidatedViewSiteIdsIndex do
|
||||||
|
use Ecto.Migration
|
||||||
|
|
||||||
|
def change do
|
||||||
|
create index(:sites, [:team_id, :consolidated, :id])
|
||||||
|
end
|
||||||
|
end
|
||||||
Loading…
Reference in New Issue