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:
parent
5d4d51e6dc
commit
bd6c12592e
@ -4,7 +4,6 @@
|
||||
|
||||
alias Pleroma.Repo
|
||||
alias Pleroma.User
|
||||
# alias Pleroma.Web.ActivityPub.Transmogrifier
|
||||
import Ecto.Query
|
||||
|
||||
defmodule Pleroma.SpcFixes do
|
||||
|
10
priv/repo/migrations/20190118183318_fix_spc_users.exs
Normal file
10
priv/repo/migrations/20190118183318_fix_spc_users.exs
Normal 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
|
Loading…
Reference in New Issue
Block a user