Support the ongoing development of Laravel.io →
Database Views Queues
Last updated 3 months ago.
0

Anyone? Bueller... Bueller?

Last updated 3 months ago.
0

I made a conversations/messages system a while back, and did it like this.

users
id | etc.

conversations
id | title | etc.

users_conversations
user_id | conversation_id 

messages
id | user_id | body | etc.

conversations_messages
conversation_id | message_id

Last updated 3 months ago.
0

Ahh, cheers dude. Yeah, that looks like a good approach. Seems logical. Thanks again.

Last updated 3 months ago.
0

Sign in to participate in this thread!

LaraJobs

Your banner here too?

T2theC T2theC t2thec Joined 5 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.