Change webpush endpoint to unlimited varchar
authorhref <href@random.sh>
Sat, 26 Jan 2019 16:17:37 +0000 (17:17 +0100)
committerhref <href@random.sh>
Sat, 26 Jan 2019 16:18:34 +0000 (17:18 +0100)
Fixes #552

priv/repo/migrations/20190126160540_change_push_subscriptions_varchar.exs [new file with mode: 0644]

diff --git a/priv/repo/migrations/20190126160540_change_push_subscriptions_varchar.exs b/priv/repo/migrations/20190126160540_change_push_subscriptions_varchar.exs
new file mode 100644 (file)
index 0000000..337fed1
--- /dev/null
@@ -0,0 +1,9 @@
+defmodule Pleroma.Repo.Migrations.ChangePushSubscriptionsVarchar do
+  use Ecto.Migration
+
+  def change do
+    alter table(:push_subscriptions) do
+      modify(:endpoint, :varchar)
+    end
+  end
+end