udia v0.1.3 Udia.Logs.Comment View Source

The schema for the Logs Comment model.

Example: %Udia.Logs.Comment{ meta: #Ecto.Schema.Metadata<:loaded, “logs_comments”>, author: #Ecto.Association.NotLoaded, author_id: 388, children: #Ecto.Association.NotLoaded, content: “some content”, id: 1, inserted_at: %DateTime{

calendar: Calendar.ISO,
day: 18,
hour: 21,
microsecond: {382226, 6},
minute: 13,
month: 7,
second: 25,
std_offset: 0,
time_zone: "Etc/UTC",
utc_offset: 0,
year: 2017,
zone_abbr: "UTC"},

parent: #Ecto.Association.NotLoaded, parent_id: nil, post: #Ecto.Association.NotLoaded, post_id: nil, type: “text”, updated_at: %DateTime{

calendar: Calendar.ISO,
day: 18,
hour: 21,
microsecond: {382232, 6},
minute: 13,
month: 7,
second: 25,
std_offset: 0,
time_zone: "Etc/UTC",
utc_offset: 0,
year: 2017,
zone_abbr: "UTC"}}

Link to this section Summary

Link to this section Functions

Link to this function changeset(comment, attrs) View Source