php - Membership Application Database Model -


I am working on creating membership-based web applications. To become a member, you will have to fill a long membership application that will pass your business. Once the application is complete, it goes to the administrator of the site for approval. There are about 60 questions to answer in the application, maybe 25% of those questions will be relevant to your member profile if you approve it. The rest of the questions are used only in the review process and once the "prospect" is never referred to as a "member". This is my question:

Should I add all probable questions to all the member information on a table or somehow separate it? Relation is 1 to 2, which I think should be in a table. The part from which I feel like this should be in different tables, it is that after becoming a member of a potential customer, the information about more information becomes irrelevant. It seems that it will be a very null and void ....

The application actually exists already; I am overhauling PHP / MySQL with ASP Classic with some significant performance improvements. The current application has a "prospectus" table and a "member" table when a prospect becomes a member, then the current application member copies the relevant data in the table and marks the possibility such as a bit called "deleted" Columns have been deleted ...... just for more background ...

EDIT: I will migrate mySQL database from MSSQL2005

I currently Will plan to use It may look like some waste space, but it has these advantages:

Your members' table will contain information about companies that are actually members. There will be no record of unreviewed or rejected prospects.

When a user edits their profile, your prospect table will not change, so you will have a historical record of the actual app. This work can be easy if the profile changes so much that the company will not be accepted for application with new information.

And obviously, when you are looking at a possibility, T is to join two tables, it is a minor issue, but if you do not need it then why not go through it.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

jquery - SimpleModal Confirm fails to submit form -

php - Multiple Select with Explode: only returns the word "Array" -