index.community/backend/priv/repo/migrations/20190810123317_add_crawls_index.exs
2019-08-10 15:35:20 +03:00

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