diff options
author | Roger Braun <roger@rogerbraun.net> | 2017-03-20 21:28:31 +0100 |
---|---|---|
committer | Roger Braun <roger@rogerbraun.net> | 2017-03-20 21:28:31 +0100 |
commit | 66f536ecbadd70fae4b1cc3d8c10792ced221ae0 (patch) | |
tree | b0bd5c01743d26b105555a17fd93310f90f08c28 /lib | |
parent | e32dbfc9a5477830dba7bf3e99621161e4454a29 (diff) | |
download | pleroma-66f536ecbadd70fae4b1cc3d8c10792ced221ae0.tar.gz |
Add user schema.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/user.ex | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/pleroma/user.ex b/lib/pleroma/user.ex new file mode 100644 index 000000000..3fb298d05 --- /dev/null +++ b/lib/pleroma/user.ex @@ -0,0 +1,13 @@ +defmodule Pleroma.User do + use Ecto.Schema + + schema "users" do + field :bio, :string + field :email, :string + field :name, :string + field :nickname, :string + field :password_hash, :string + + timestamps() + end +end |