The docs state helper fields createdAt and updatedAt are automatically added to your type with @model
This is a snippet of my model:
``
type Post @model @auth(rules: [{ allow: public, operations: [read] }, { allow: owner }]) @searchable {
id: ID! @primaryKey(sortKeyFields: ["createdAt"])
comments: [Comment] @hasMany
likes: [Like] @hasMany
}``
I did not specify createdAt as a field because then, I'm not sure if it will still get automatically filled with values. Is it necessary to make it a field and if so, how can I make sure the default action of it being assigned the current createdTime and updatedTimes are met?
Would appreciate the help!