mirror of
https://github.com/plausible/analytics.git
synced 2024-12-24 01:54:34 +03:00
25d8f2f3f9
* Use oban for work * Remove mix task for email reports * Convert remaining tasks to Oban workers * Add crontab for scheduled jobs * Only enable cron if configured to do so
12 lines
183 B
Elixir
12 lines
183 B
Elixir
defmodule Plausible.Repo.Migrations.AddObanJobsTable do
|
|
use Ecto.Migration
|
|
|
|
def up do
|
|
Oban.Migrations.up()
|
|
end
|
|
|
|
def down do
|
|
Oban.Migrations.down(version: 1)
|
|
end
|
|
end
|