{{ messages[0].message }}
Getting started with relationships
We need to track which user creates todos. Setting up active record relationships with Adonis Lucid is really easy. Let's see how this works.
{{ comment.user.name }} {{ comment.created_at }}
{{ comment.likes.length }}
{{ childComment.user.name }} {{ childComment.created_at }}
{{ childComment.likes.length }}