fix Oban migration
authorMaksim Pechnikov <parallel588@gmail.com>
Fri, 10 Apr 2020 18:27:50 +0000 (21:27 +0300)
committerMaksim Pechnikov <parallel588@gmail.com>
Fri, 10 Apr 2020 18:27:50 +0000 (21:27 +0300)
priv/repo/migrations/20200402063221_update_oban_jobs_table.exs

index c8ee121923544a8ffed47a85035f1d9f330eca90..e7ff04008c7780fbbcd6e66c9216c025d0b19c3e 100644 (file)
@@ -2,10 +2,10 @@ defmodule Pleroma.Repo.Migrations.UpdateObanJobsTable do
   use Ecto.Migration
 
   def up do
-    Oban.Migrations.up()
+    Oban.Migrations.up(version: 8)
   end
 
   def down do
-    Oban.Migrations.down(version: 1)
+    Oban.Migrations.down(version: 7)
   end
 end