mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-11-20 08:30:59 +00:00
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 @@ defmodule Pleroma.Repo.Migrations.UpdateOban do
|
|||
end
|
||||
|
||||
def down do
|
||||
Oban.Migrations.down(version: 2)
|
||||
Oban.Migrations.down(version: 3)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -6,6 +6,6 @@ defmodule Pleroma.Repo.Migrations.UpdateObanJobsTable do
|
|||
end
|
||||
|
||||
def down do
|
||||
Oban.Migrations.down(version: 7)
|
||||
Oban.Migrations.down(version: 8)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue