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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T06:41:58+00:00 2026-06-10T06:41:58+00:00

I am making a project manager site for my personal use, and I have

  • 0

I am making a project manager site for my personal use, and I have a question about what would be the best way to build the database for the site.

It will involve Client list, Projects and Tasks, Invoicing and Payments.
I am trying to figure out the best way to make sure I can link all content to the Client.
This is what I put together in notepad just to get an idea on how my database should look like.

Clients: id, name
Projects: id, client, project_name, due_date
Tasks: id, client, project_name, task, due_date, complete
Invoices: invoice_id, client, project_name, date, due, balance, payment, pay_date
Invoice_item: id, item, amount

If anyone has a better idea on how I should do this, please feel free to let me know.

  • 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-10T06:42:00+00:00Added an answer on June 10, 2026 at 6:42 am

    @GuberX – Why do each of the tables have just id?

    It would look more descriptive to do something like:

    [Client]: cliID, name
    [Project]: projID, client, project_name, due_date
    [Task]: taskID, client, project_name, task, due_date, complete
    [Invoice]: invID, client, project_name, date, due, balance, payment, pay_date
    [Invoice_item]: InvItemID, item, amount
    

    An example using the foreign keys you specified (in the comments):

    multiple tasks, single invoice but accept multiple payments
    
    Task [taskID, client, project_name, task, due_date, complete, *projID]
    

    Note the *projID above. Further reading for you here

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

Sidebar

Related Questions

I have an AS3 project making use of compile time constants. This has worked
I have a little problem, I'm making project and I'm sending data from client
I am making a project that should compile on Windows and Linux. I have
I am making a project on a restaurant where I have put table reservation.
I have searched all over the web with no luck of making this project
I'm making this little project with fwrite (long story, and I can't use DB's).
I have a project I manage out of a git repository. We use the
My question is what's the best way to create an inteface with C++ code.
I have a theoritical question : I have a project that has versions, for
I have two models with managers: Category and Project. class PopulatedCategoriesManager(models.Manager): def get_query_set(self): return

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.