Commit 43d7a4b2 authored by lain's avatar lain

Add basic fields to support remote users.

parent 7424310e
......@@ -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
......
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment