forked from AkkomaGang/akkoma
use explicitly oban migration version
This commit is contained in:
parent
d2382ab5f4
commit
02dbf1c51d
1 changed files with 7 additions and 2 deletions
|
@ -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 a new issue