1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-12-25 04:53:06 +00:00

use explicitly oban migration version

This commit is contained in:
Alexander Strizhakov 2021-01-17 09:58:07 +03:00
parent d2382ab5f4
commit 02dbf1c51d
No known key found for this signature in database
GPG key ID: 022896A53AEF1381

View file

@ -5,6 +5,11 @@
defmodule Pleroma.Repo.Migrations.UpgradeObanJobsToV9 do
use Ecto.Migration
defdelegate up, to: Oban.Migrations
defdelegate down, to: Oban.Migrations
def up do
Oban.Migrations.up(version: 9)
end
def down do
Oban.Migrations.down(version: 9)
end
end