We need to create the user_employment_change table so that we can update a shared data store across hackforla.org, vrms, civictechjobs, and tables (onboarding) project.
Details
A table and a model are the same thing
Action Items
[x] identify and document table description (see spreadsheet under Resources)
[x] if not, reach out to PD leads
[x] compare and check off the data fields (below) against the ERD. Note any fields in the ERD that's missing from the list. (see Resources)
[x] compare the check off associated tables (below) against the ERD. Note any associated tables in the ERD that's missing from the list (see Resources)
[ ] create a single model in Django (defining schema)
[ ] write a test for the relationships this model will have with other models (e.g., creating a user and assigning them a set of permissions on a project).
from the ERD, it looks like the table records the time and type of a user's employment change
from the table name, it feels like each record should record a single employment change, similar to the job history in a resume or CV. the last_updated field suggests that a record can be updated. This field doesn't make sense.
Data Fields
Copied from spreadsheet and checked off according to ERD. (unchecked items indicate a mismatch between ERD and spreadsheet, which requires a review)
Missing
In ERD only (having items here indicates a mismatch, which requires a review)
(PK) id - int
(FK) user_id - int
(FK) soc_detailed_id - int
last_updated - DateTimeField
Associated Tables
Copied from spreadsheet and checked off according to ERD. (unchecked items indicate a mismatch between ERD and spreadsheet, which requires a review)
[ ] soc_detailed (many-to-one)
[ ] user (many-to-one)
In ERD only (having items here indicates a mismatch, which requires a review)
Overview
We need to create the user_employment_change table so that we can update a shared data store across hackforla.org, vrms, civictechjobs, and tables (onboarding) project.
Details
A table and a model are the same thing
Action Items
Resources/Instructions
Description
Missing
Data Fields
Copied from spreadsheet and checked off according to ERD. (unchecked items indicate a mismatch between ERD and spreadsheet, which requires a review)
In ERD only (having items here indicates a mismatch, which requires a review)
Associated Tables
Copied from spreadsheet and checked off according to ERD. (unchecked items indicate a mismatch between ERD and spreadsheet, which requires a review)
In ERD only (having items here indicates a mismatch, which requires a review)