mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 03:17:51 +00:00
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