Fix ex_docs warnings

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2022-04-07 18:37:44 +02:00
parent 698f78ee9a
commit 7a18d0b2bb
20 changed files with 58 additions and 42 deletions

View File

@@ -6,6 +6,16 @@ defmodule Mobilizon.Instances.Instance do
"""
use Ecto.Schema
@type t :: %__MODULE__{
event_count: non_neg_integer(),
person_count: non_neg_integer(),
group_count: non_neg_integer(),
followers_count: non_neg_integer(),
followings_count: non_neg_integer(),
reports_count: non_neg_integer(),
media_size: non_neg_integer()
}
@primary_key {:domain, :string, []}
schema "instances" do
field(:event_count, :integer)