index.community/backend/priv/repo/migrations/20190810123317_add_crawls_i...

10 lines
258 B
Elixir

defmodule Backend.Repo.Migrations.AddCrawlsIndex do
use Ecto.Migration
def change do
create index(:crawls, [:instance_domain])
create index(:crawl_interactions, [:source_domain])
create index(:crawl_interactions, [:target_domain])
end
end