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