JAmcevoy / LWM-API

0 stars 1 forks source link

Messages Model #4

Open JAmcevoy opened 2 months ago

JAmcevoy commented 2 months ago

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

JAmcevoy commented 2 months ago

Going to chnage the structure so the comments will be a messaging like app for groups.