1
0
mirror of https://git.pleroma.social/sjw/pleroma.git synced 2024-12-25 15:15:26 +01:00

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