Add basic fields to support remote users.
This commit is contained in:
parent
7424310e14
commit
43d7a4b2cf
|
@ -15,6 +15,8 @@ defmodule Pleroma.User do
|
|||
field :following, { :array, :string }, default: []
|
||||
field :ap_id, :string
|
||||
field :avatar, :map
|
||||
field :local, :boolean, default: true
|
||||
field :info, :map
|
||||
|
||||
timestamps()
|
||||
end
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
defmodule Pleroma.Repo.Migrations.AddFieldsToUsers do
|
||||
use Ecto.Migration
|
||||
|
||||
def change do
|
||||
alter table(:users) do
|
||||
add :local, :boolean, default: true
|
||||
add :info, :map
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue