Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
43d7a4b2
Commit
43d7a4b2
authored
Apr 24, 2017
by
lain
Browse files
Add basic fields to support remote users.
parent
7424310e
Changes
2
Hide whitespace changes
Inline
Side-by-side
lib/pleroma/user.ex
View file @
43d7a4b2
...
...
@@ -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
...
...
priv/repo/migrations/20170423154511_add_fields_to_users.exs
0 → 100644
View file @
43d7a4b2
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment