Add migration to fix spc users.

This commit is contained in:
lain 2019-01-18 19:35:47 +01:00
parent 5d4d51e6dc
commit bd6c12592e
2 changed files with 10 additions and 1 deletions

View file

@ -4,7 +4,6 @@
alias Pleroma.Repo
alias Pleroma.User
# alias Pleroma.Web.ActivityPub.Transmogrifier
import Ecto.Query
defmodule Pleroma.SpcFixes do

View file

@ -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