summaryrefslogtreecommitdiff
path: root/priv
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-09-17 13:04:43 +0300
committerrinpatch <rinpatch@sdf.org>2019-09-17 13:04:43 +0300
commita21584556f2c3edb90db3c58ba2a4829a7e220c1 (patch)
tree542403dcc4ead1724c151b7121b7f42f98057f47 /priv
parenta58f29b826333c1ecb0907228f0e087a3ecd9778 (diff)
downloadpleroma-a21584556f2c3edb90db3c58ba2a4829a7e220c1.tar.gz
pleroma-a21584556f2c3edb90db3c58ba2a4829a7e220c1.zip
Update oban to 0.8.1
This version uses a different locking mechanism, which gets rid of `WARNING: you don't own a lock of type ShareLock` log spam
Diffstat (limited to 'priv')
-rw-r--r--priv/repo/migrations/20190917100019_update_oban.exs11
1 files changed, 11 insertions, 0 deletions
diff --git a/priv/repo/migrations/20190917100019_update_oban.exs b/priv/repo/migrations/20190917100019_update_oban.exs
new file mode 100644
index 000000000..157dc54f9
--- /dev/null
+++ b/priv/repo/migrations/20190917100019_update_oban.exs
@@ -0,0 +1,11 @@
+defmodule Pleroma.Repo.Migrations.UpdateOban do
+ use Ecto.Migration
+
+ def up do
+ Oban.Migrations.up(version: 4)
+ end
+
+ def down do
+ Oban.Migrations.down(version: 2)
+ end
+end