Migration: index for caching consolidated views (#5752)

This commit is contained in:
Adam Rutkowski 2025-09-24 16:36:51 +02:00 committed by GitHub
parent 36030b4bf7
commit 63a89cab8e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 0 deletions

View File

@ -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