use correct versions for oban migrations
This commit is contained in:
parent
0e48c80d7f
commit
87c468f009
3 changed files with 6 additions and 3 deletions
|
@ -1,6 +1,9 @@
|
|||
defmodule Pleroma.Repo.Migrations.AddObanJobsTable do
|
||||
use Ecto.Migration
|
||||
|
||||
defdelegate up, to: Oban.Migrations
|
||||
def up do
|
||||
Oban.Migrations.up(version: 2)
|
||||
end
|
||||
|
||||
defdelegate down, to: Oban.Migrations
|
||||
end
|
||||
|
|
|
@ -6,6 +6,6 @@ def up do
|
|||
end
|
||||
|
||||
def down do
|
||||
Oban.Migrations.down(version: 2)
|
||||
Oban.Migrations.down(version: 3)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -6,6 +6,6 @@ def up do
|
|||
end
|
||||
|
||||
def down do
|
||||
Oban.Migrations.down(version: 7)
|
||||
Oban.Migrations.down(version: 8)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue