use explicitly oban migration version
This commit is contained in:
parent
d2382ab5f4
commit
02dbf1c51d
|
@ -5,6 +5,11 @@
|
||||||
defmodule Pleroma.Repo.Migrations.UpgradeObanJobsToV9 do
|
defmodule Pleroma.Repo.Migrations.UpgradeObanJobsToV9 do
|
||||||
use Ecto.Migration
|
use Ecto.Migration
|
||||||
|
|
||||||
defdelegate up, to: Oban.Migrations
|
def up do
|
||||||
defdelegate down, to: Oban.Migrations
|
Oban.Migrations.up(version: 9)
|
||||||
|
end
|
||||||
|
|
||||||
|
def down do
|
||||||
|
Oban.Migrations.down(version: 9)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue