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

  • SEARCH
  • Home
  • 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 8342797
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T05:52:17+00:00 2026-06-09T05:52:17+00:00

My site enables communication between both registered and non-registered users. I’m trying to determine

  • 0

My site enables communication between both registered and non-registered users. I’m trying to determine the best practice for storing non-registered users in the database. My initial schema was as follows:

Users
------------
user_id
device_id *Unique* (this is for mobile app users)
email *Unique*
phone *Unique*
first_name
last_name
image_url
date_joined

UserNames  (Users have custom names for each group potentially)
-------------
name_id
user_id
group_id
first_name
last_name

Further details of how the app works:

  • Users register and create groups/lists which include both registered and non-registered users
  • Messages are then sent to members of the groups/lists
  • Note: registered users can add non-registered users to lists without their explicit approval.

I chose the design listed above because emails, phone numbers, and device IDs would be unique. However users may have different names/nick names for each of the users, hence the UserNames table. However it’s not clear to me whether or not storing non-registered users should be stored in the Users table given that they aren’t technically registered users of the site.

Should I be storing the non-registered/external users in a separate table? Let me know if you need me to clarify anything.

  • 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-06-09T05:52:19+00:00Added an answer on June 9, 2026 at 5:52 am

    Whether you segregate unregistered user into their own table is a design decision probably only you can answer. It would probably depend on how these different user types are used throughout your application. It could be something as simple as having a tinyint field with 0 or 1 values to indicate a user is registered.

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

Sidebar

Related Questions

I have a site that enables users to post messages to a forum. At
I am developing a site (ASP.Net based) that, besides other features enables the users
I am trying to build a web application that enables users to refer people
I am in the process of creating a site which enables users to upload
I'm developing a PHP-MySQL app that enables registered users to enter text comments. Problem
I am trying to enable SSI to use it in my site. The first
I'm developing a remote desktop application that enables users to connect remotely to a
I am creating a small search function on my site, this enables the search
I'm trying to create a program on my server that enables me to pull
I have a web application which enables users to upload files. The files are

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.