hackforla / peopledepot

A project to setup a datastore for people and projects at HackforLA. The link below takes you to the code documentation
https://hackforla.github.io/peopledepot/
GNU General Public License v2.0
5 stars 25 forks source link

Create Table: user_employment_change #81

Open fyliu opened 1 year ago

fyliu commented 1 year ago

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

  1. Copied from spreadsheet and checked off according to ERD. (unchecked items indicate a mismatch between ERD and spreadsheet, which requires a review)

    • Missing
  2. 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

  1. 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)
  2. In ERD only (having items here indicates a mismatch, which requires a review)

    • None
fyliu commented 1 year ago

Problems:

  1. Missing description
    1. See discussion above
  2. Missing data fields in spreadsheet
    1. I added the ERD fields to the spreadsheet
  3. last_updated is a confusing name
    1. last_updated sounds like it pertains to the database record of the change rather than the date the change happened
    2. maybe something like "change_date", or "new_employment_date", or "employment_change_date", or "employment_updated_on"
Neecolaa commented 7 months ago

Action items:

After these are done, the architect labels can be removed and replaced with back end labels