Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6609811
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:45:44+00:00 2026-05-25T19:45:44+00:00

In my messaging application, The features I want to provide are: Sending a message

  • 0

In my messaging application, The features I want to provide are:

  • Sending a message to multiple people
  • Receiving message sent to a user
  • Showing message in groups divided by the users, Like in facebook message
  • But when a user will send a message to multiple people, It will not be a group message but those messages will go in groups divided by users

My database schema is like this
My database schema

This schema is able to provide all the functions above but getting the message out from this kind of schema in groups of users is very complex. Can anyone suggest me some better schema??

The unnamed table is of receivers mapping, forgot to write the name in jpg. 🙁

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T19:45:44+00:00Added an answer on May 25, 2026 at 7:45 pm

    What is wrong with one table?

    message_id
    timestamp
    to
    from
    subject
    body
    attachment_pointer
    origin

    …

    I’ll probably get thrashed for it but…

    hmm…good point

    Messages
    message_id
    timestamp
    subject
    body
    attachment
    
    MessageReference
    mr_id
    message_id
    to
    from
    

    edit: Also found these:

    Messaging system database schema

    thread messaging system database schema design

    How should I setup my database schema for a messaging system complete with attachments?

    Database schema for messaging to multiple users

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm implementing my own user messaging feature in my application, but I'm having difficulty
I am making a messaging application in which user can send or receive a
We have developed a messaging application in j2me which adds text message, gets pictures
I am sending SMS in palm webOS by launching or opening the messaging application
I have built a very simple internal messaging system inside my application, i want
I am developing an android messaging application. I want to send sms to url
I am working on a PHP/MySQL messaging application in which a user can see
I want to override the default android messaging application. If I receive a sms
I'm writing a servlet-based application in which I need to provide a messaging system.
I recently created a ajax based instant messaging application and after running for a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.