From: lain Date: Fri, 18 Jan 2019 18:35:47 +0000 (+0100) Subject: Add migration to fix spc users. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=bd6c12592e9ae9548172c605d00650d4d6b734dc;p=akkoma Add migration to fix spc users. --- 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