diff --git a/services/bright/lib/bright/user.ex b/services/bright/lib/bright/user.ex index aba9ce3..797c53f 100644 --- a/services/bright/lib/bright/user.ex +++ b/services/bright/lib/bright/user.ex @@ -6,7 +6,6 @@ defmodule Bright.User do schema "users" do field :name, :string field :email, :string - field :number_of_pets, :integer field :is_admin, :boolean field :auth_token, :string field :auth_token_expires_at, :utc_datetime @@ -21,8 +20,8 @@ defmodule Bright.User do @doc false def changeset(user, attrs) do user - |> cast(attrs, [:name, :email, :bio, :number_of_pets, :is_admin]) - |> validate_required([:name, :email, :bio, :number_of_pets]) + |> cast(attrs, [:name, :email, :bio, :is_admin]) + |> validate_required([:name, :email, :bio]) end