logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 02dbf1c51d7d12e30e279afb3b84c2141c6c6e4a
parent d2382ab5f4b507b01ae7fbe6d7522e33d073419d
Author: Alexander Strizhakov <alex.strizhakov@gmail.com>
Date:   Sun, 17 Jan 2021 09:58:07 +0300

use explicitly oban migration version

Diffstat:

Mpriv/repo/migrations/20210115205649_upgrade_oban_jobs_to_v9.exs9+++++++--
1 file changed, 7 insertions(+), 2 deletions(-)

diff --git 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