From: Alexander Strizhakov Date: Sun, 17 Jan 2021 06:58:07 +0000 (+0300) Subject: use explicitly oban migration version X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=02dbf1c51d7d12e30e279afb3b84c2141c6c6e4a;p=akkoma use explicitly oban migration version --- diff --git a/priv/repo/migrations/20210115205649_upgrade_oban_jobs_to_v9.exs b/priv/repo/migrations/20210115205649_upgrade_oban_jobs_to_v9.exs index 067e62e8c..bfb405579 100644 --- a/priv/repo/migrations/20210115205649_upgrade_oban_jobs_to_v9.exs +++ b/priv/repo/migrations/20210115205649_upgrade_oban_jobs_to_v9.exs @@ -5,6 +5,11 @@ defmodule Pleroma.Repo.Migrations.UpgradeObanJobsToV9 do use Ecto.Migration - defdelegate up, to: Oban.Migrations - defdelegate down, to: Oban.Migrations + def up do + Oban.Migrations.up(version: 9) + end + + def down do + Oban.Migrations.down(version: 9) + end end