Skip to content
Snippets Groups Projects
Commit 43d7a4b2 authored by lain's avatar lain
Browse files

Add basic fields to support remote users.

parent 7424310e
Branches
Tags
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment