mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-18 04:49:23 +00:00
911f8feb0a
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk> Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/216
11 lines
258 B
Elixir
11 lines
258 B
Elixir
defmodule Pleroma.Repo.Migrations.UpgradeObanToV11 do
|
|
use Ecto.Migration
|
|
|
|
def up do
|
|
execute("UPDATE oban_jobs SET priority = 0 WHERE priority IS NULL;")
|
|
Oban.Migrations.up(version: 11)
|
|
end
|
|
|
|
def down, do: Oban.Migrations.down(version: 11)
|
|
end
|