add missing indices on crawls

pull/1/head
Tao Bror Bojlén 2019-08-10 15:35:20 +03:00
rodzic 992ed6b9bb
commit 144a6e842f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: C6EC7AAB905F9E6F
2 zmienionych plików z 11 dodań i 0 usunięć

Wyświetl plik

@ -17,6 +17,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Added missing indices on crawls and crawl_interactions tables.
### Security
## [2.6.0 - 2019-08-10]

Wyświetl plik

@ -0,0 +1,9 @@
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