frenzy/priv/repo/migrations/20200531201714_feeds_add_re...

11 lines
261 B
Elixir
Raw Permalink Normal View History

defmodule Frenzy.Repo.Migrations.FeedsAddRefreshFrequency do
use Ecto.Migration
def change do
alter table(:feeds) do
add :last_refreshed_at, :naive_datetime, default: nil
add :refresh_frequency, :integer, default: 30 * 60
end
end
end