Migration: index Sites.updated_at (#2467)

This commit is contained in:
Adam Rutkowski 2022-11-23 13:26:50 +01:00 committed by GitHub
parent 75fcd8d611
commit 8b5ae9baaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,7 @@
defmodule Plausible.Repo.Migrations.IndexUpdatedAtForSites do
use Ecto.Migration
def change do
create index(:sites, :updated_at)
end
end