use explicitly oban migration version

This commit is contained in:
Alexander Strizhakov 2021-01-17 09:58:07 +03:00
parent d2382ab5f4
commit 02dbf1c51d
No known key found for this signature in database
GPG Key ID: 022896A53AEF1381
1 changed files with 7 additions and 2 deletions

View File

@ -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