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

Anyone? Bueller... Bueller?

Last updated 2 years 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 2 years ago.
0

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

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

T2theC t2thec Joined 5 Feb 2014

Moderators

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

Your logo here?

Laravel.io

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

© 2024 Laravel.io - All rights reserved.