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 1004017
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T08:04:01+00:00 2026-05-16T08:04:01+00:00

Sometime back while designing something that included user management, I was required to have

  • 0

Sometime back while designing something that included user management, I was required to have created_by and last_updated_by columns in the User table. To me it seemed a good idea to have a 1:1 relationship on User itself as it would serve as an additional check.

The obvious issue is creating the first user who will have to create himself but after that it should work fine(?) I believe. But I was asked to remove the constraint stating some reasons. What would be a good design decision?

  • 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-16T08:04:02+00:00Added an answer on May 16, 2026 at 8:04 am

    This answer won’t we very tech related: We also using different CMS for our customers and they have a “created_at” and “updated_at” column in almost all of theis tables that relate to users, products, posts, … One week ago, I was asked to get some stats from the application. I should get how many users were active and when, when did a user log-in and did he returned in period X. From users that are not older than 1 month (speaking application wise of course) how many have actively done something on the site and so on.

    There are specialized tools for something like that, of course but the data was more than enough to provide pretty detailed information on various aspects that were very important from a financial point of view as well as planning and re-thinking some aspects.

    As mentioned, this is not really a datebase-design answer but I’m sure everyone who does the econimical part will be interrested in some of this data at one point. So keeping it doesn’t hurt anybody but can give you cheap (because it’s “already there”) information for a next meeting with the customers manager or whoever.

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

Sidebar

Related Questions

I have a personal project that's been online for sometime now. I've been keeping
A while back I worked with a software company that sold a specialized software
Sorry for this not being a real question, but Sometime back i remember seeing
Sometime I see many application such as msn, windows media player etc that are
I need to deploy a few files that were checked in sometime ago (can't
I have been working with relational databases for sometime, but it only recently occurred
While I can find the answer to almost any specific question I have concerning
Sometime we have problem with the file PATH syntax For example Wrong PATH as
A while back I ran in to a problem where after clicking an anchor
according to some tutorials i read a while back, the const declaration makes 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.