index.community/backend/priv/repo/migrations/20190807155906_add_next_crawl_to_instances.exs
2019-08-07 16:53:34 +00:00

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