index.community/backend/priv/repo/migrations/20190807155906_add_next_cra...

12 lines
232 B
Elixir

defmodule Backend.Repo.Migrations.AddNextCrawlToInstances do
use Ecto.Migration
def change do
alter table(:instances) do
add :next_crawl, :naive_datetime
end
create index(:instances, [:next_crawl])
end
end