asobi_vote (asobi v0.72.5)
View SourceKura schema for persisted vote results.
Each record represents a completed vote within a match, including the options presented, votes cast, tallied result, and turnout statistics.
Summary
Functions
-spec associations() -> [#kura_assoc{name :: atom(), type :: belongs_to | has_one | has_many | many_to_many, schema :: module(), foreign_key :: atom() | undefined, ref :: #kura_ref{fields :: [atom()] | undefined, target :: module() | undefined, target_key :: [atom()] | undefined} | undefined, join_through :: binary() | module() | undefined, join_keys :: {atom() | [atom()], atom() | [atom()]} | undefined, through :: [atom()] | undefined, on_delete :: kura_schema:on_delete() | undefined}].
-spec generate_id() -> binary().
-spec table() -> binary().