summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20190730055101_add_oban_jobs_table.exs
diff options
context:
space:
mode:
authorAlexander Strizhakov <alex.strizhakov@gmail.com>2021-01-20 20:07:24 +0300
committerAlexander Strizhakov <alex.strizhakov@gmail.com>2021-01-20 20:07:24 +0300
commit87c468f009e048634b705452abbdf2ef489cd055 (patch)
tree2fb6b185fa798eb6ca35e6849d024478eb83b314 /priv/repo/migrations/20190730055101_add_oban_jobs_table.exs
parent0e48c80d7fd65cedaccd2ecbfbd49bb0f56d6f4d (diff)
downloadpleroma-87c468f009e048634b705452abbdf2ef489cd055.tar.gz
pleroma-87c468f009e048634b705452abbdf2ef489cd055.zip
use correct versions for oban migrations
Diffstat (limited to 'priv/repo/migrations/20190730055101_add_oban_jobs_table.exs')
-rw-r--r--priv/repo/migrations/20190730055101_add_oban_jobs_table.exs5
1 files changed, 4 insertions, 1 deletions
diff --git a/priv/repo/migrations/20190730055101_add_oban_jobs_table.exs b/priv/repo/migrations/20190730055101_add_oban_jobs_table.exs
index 2f201bd05..5214d59cb 100644
--- a/priv/repo/migrations/20190730055101_add_oban_jobs_table.exs
+++ b/priv/repo/migrations/20190730055101_add_oban_jobs_table.exs
@@ -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