-- Main.mdmewhor - 23 Aug 2005
Data Model
applicant Table
This table holds data on each applicant.
Fields
- ouacId (primary key) - The applicant's ouac number.
- passwordHash - The MD5 hash of the applicant's password.
- email - The contact email for this applicant.
- creationDate - The date and time that this record was created.
- activationDate - The date and time that this applicant first logged in. If this field is not set after a certain amount of time after the creationDate the record will be deleted.
- researchInterests - Detailed information about the applicant's research interests.
- statementOfPurpose - ?
- resumeFilename - Given filename of the applicant's attached resume.
- resumeHash - MD5 hash of the applicant's attached resume to facilitate version control.
- resumeToBeMailed - Boolean indicating if the user is going to mail his/her resume rather than attach it electronically
applicantResearchArea Table
This table links applicant.ouacId's to researchArea.id's to indicate that an applicant is interested in a particular research area.
Fields
- applicant (primary key) - The applicant.ouacId of the applicant who chose the research area.
- area (primary key) - The id of the chosen research area.
backgroundCategory Table
Holds all possible background course categories.
Fields
- id (primary key) - A unique id to identify the category.
- description - A word or phrase describing the category.
- order - The position relative to the other categories in which it should be displayed on the screen.
backgroundCourse Table
This table links applicant.ouacId's with courses they have taken in the past.
Fields
- applicant (primary key) - The applicant.ouacId of the applicant who has taken this course.
- courseNumber (primary key) - The course number.
- courseTitle - Phrase describing the course.
- grade - the grade achieved by this applicant in this course.
- category - the backgroundCategory.id that this course belongs to.
researchArea Table
This table holds all possible research areas.
Fields
- id (primary key) - A unique id to identify this research area.
- description - A word or phrase describing this research area.