Add migration to fix spc users.
This commit is contained in:
parent
5d4d51e6dc
commit
bd6c12592e
|
@ -4,7 +4,6 @@
|
||||||
|
|
||||||
alias Pleroma.Repo
|
alias Pleroma.Repo
|
||||||
alias Pleroma.User
|
alias Pleroma.User
|
||||||
# alias Pleroma.Web.ActivityPub.Transmogrifier
|
|
||||||
import Ecto.Query
|
import Ecto.Query
|
||||||
|
|
||||||
defmodule Pleroma.SpcFixes do
|
defmodule Pleroma.SpcFixes do
|
||||||
|
|
|
@ -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
|
Loading…
Reference in New Issue