* Ran a MediaItem generator; Reformatted to my liking * [WIP] added basic index function * setup oban * Added basic Oban job for indexing * Added in workers for indexing; hooked them into record creation flow * Added a task model with a phx generator * Tied together tasks with jobs and channels
9 lines
229 B
Elixir
9 lines
229 B
Elixir
defmodule Pinchflat.Repo.Migrations.AddIndexFrequencyToChannels do
|
|
use Ecto.Migration
|
|
|
|
def change do
|
|
alter table(:channels) do
|
|
add :index_frequency_minutes, :integer, default: 60 * 24, null: false
|
|
end
|
|
end
|
|
end
|