index.community/backend/priv/repo/migrations/20190810123317_add_crawls_index.exs

10 lines
258 B
Elixir
Raw Permalink Normal View History

2019-08-10 12:35:20 +00:00
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