sloanelybutsurely.com/lib/schema/user.ex
2025-03-25 21:54:52 -04:00

13 lines
333 B
Elixir

defmodule Schema.User do
@moduledoc false
use Schema
schema "users" do
field :username, :string
field :password, :string, virtual: true, redact: true
field :hashed_password, :string, redact: true
field :current_password, :string, virtual: true, redact: true
timestamps(type: :utc_datetime_usec)
end
end