As a developer, I want to design a Message model linked to the Circles model so that users can communicate with other users in the circle, with fields for the message sender, circle, content and time stamped
AC1: The Message model should have a foreign key linking it to both the User model (as the sender) and the Circles model, ensuring that each message is associated with a specific user and circle.
AC2: The Message model should include a content field to store the message text, ensuring it is required and can handle varying lengths of text.
AC3: The Message model should include created_at and updated_at timestamps to record when the message was sent and last modified
As a developer, I want to design a Message model linked to the Circles model so that users can communicate with other users in the circle, with fields for the message sender, circle, content and time stamped
AC1: The Message model should have a foreign key linking it to both the User model (as the sender) and the Circles model, ensuring that each message is associated with a specific user and circle.
AC2: The Message model should include a content field to store the message text, ensuring it is required and can handle varying lengths of text.
AC3: The Message model should include created_at and updated_at timestamps to record when the message was sent and last modified