Jump to content
Larry Ullman's Book Forums

E-Commerce Jobsboard

Recommended Posts

So I am looking at developing a jobsboard, which has three tables:


Company - Store details of companies looking to advertise jobs, build profile.

Jobs - Store details of Jobs being advertised for a certain period of time.

Orders - Store details of the transactions for the jobs being posted.


The way it works is the company completes registration form, then has the option of posting jobs which they will be charged a fix fee.


Now what foreign key would I store in the Orders table? since I am using Paypal and don't know how much information you can carry over. Would I store the CompanyID or the JobsID or both?






Link to comment
Share on other sites

If one order is related to one job, then at the very least, you'd have to associate an order ID with a job ID, yes.

You could also associate the company ID with an order ID, but since you should already have the company ID linked to job IDs in another table, doing so wouldn't be the most normalized solution (although that doesn't mean you can't do it).


Without more details, it's hard to help you beyond that. Sorry.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...