View Source Glific.Tags.MessageTag (Glific v5.1.6)

A file for managing the join table message tags

Link to this section Summary

Functions

Standard changeset pattern we use for all data types

Link to this section Types

@type t() :: %Glific.Tags.MessageTag{
  __meta__: Ecto.Schema.Metadata.t(),
  id: non_neg_integer() | nil,
  message: Glific.Messages.Message.t() | Ecto.Association.NotLoaded.t() | nil,
  message_id: term(),
  organization:
    Glific.Partners.Organization.t() | Ecto.Association.NotLoaded.t() | nil,
  organization_id: non_neg_integer() | nil,
  tag: Glific.Tags.Tag.t() | Ecto.Association.NotLoaded.t() | nil,
  tag_id: term(),
  value: String.t() | nil
}

Link to this section Functions

Link to this function

changeset(message, attrs)

View Source
@spec changeset(t(), map()) :: Ecto.Changeset.t()

Standard changeset pattern we use for all data types