From bd6c12592e9ae9548172c605d00650d4d6b734dc Mon Sep 17 00:00:00 2001 From: lain Date: Fri, 18 Jan 2019 19:35:47 +0100 Subject: [PATCH] Add migration to fix spc users. --- lib/pleroma/spc_fixes/spc_fixes.ex | 1 - priv/repo/migrations/20190118183318_fix_spc_users.exs | 10 ++++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 priv/repo/migrations/20190118183318_fix_spc_users.exs diff --git a/lib/pleroma/spc_fixes/spc_fixes.ex b/lib/pleroma/spc_fixes/spc_fixes.ex index aa4830b51..e937d5871 100644 --- a/lib/pleroma/spc_fixes/spc_fixes.ex +++ b/lib/pleroma/spc_fixes/spc_fixes.ex @@ -4,7 +4,6 @@ alias Pleroma.Repo alias Pleroma.User -# alias Pleroma.Web.ActivityPub.Transmogrifier import Ecto.Query defmodule Pleroma.SpcFixes do diff --git a/priv/repo/migrations/20190118183318_fix_spc_users.exs b/priv/repo/migrations/20190118183318_fix_spc_users.exs new file mode 100644 index 000000000..3a6caa875 --- /dev/null +++ b/priv/repo/migrations/20190118183318_fix_spc_users.exs @@ -0,0 +1,10 @@ +defmodule Pleroma.Repo.Migrations.FixSPCUsers do + use Ecto.Migration + + def up do + Pleroma.SpcFixes.upgrade_users() + end + + def down do + end +end -- 2.45.2