Open Neecolaa opened 2 years ago
remove program area from this table. It should be projects only
DB Architect to-do:
Change name from project_program_area_status
to project_status
DB Architect to-do:
status_id
in program_area
program_area
to remove status_id
project_status
and program_area
Need to have initial data in the spreadsheet for project_status
table
Initial data is Active On Hold Completed Closed
There is also another bit of information and I don't know exactly where it goes right at this min. But it's a visible: hidden. That is in addition to the status above. e.g., a project that is on-hold and hidden would not show up on the website. This is probably on the project table.
Progress: Got my branch setup locally and on my remote fork of the main repo. I just need some fairly easy questions answered and I'll be able to move forward. Blockers:
current_status_id
foreign key field to project_status. It should be possible to do this with the PR that I make for this issue by removing the line here. Should I still create an issue, or make the change I suggest in the PR for this issue?Availability: Should have time this weekend, and potentially time in the evenings (i.e. 7pm to 9pm). ETA: Early next week or end of this weekend.
- [ ] The issue description says that the program_area model should have a relationship with the project_status model. The row in the PD: Table and field explanations Google sheet doesn't list this relationship (the Lucidchart diagram doesn't indicate a relationship either). Which is correct?
I would confirm with @Neecolaa since it has to do with the database design and since she created this issue and made the change I refer to in the next sentence. From the issue history, it looks like the original issue had to do with project and program_area, and then this line was inadvertently left over when the issue was changed to project_status.
- [ ] The issue also requires me to create another issue to update the
current_status_id
foreign key field to project_status. It should be possible to do this with the PR that I make for this issue by removing the line here. Should I still create an issue, or make the change I suggest in the PR for this issue?
You're right. It's easier to just do that in this issue. Please update that task to do that.
Fang's correct: when I updated the ERD and spreadsheet I neglected to remove the connection from this issue as well. I've done that now. Thank you for double checking that!
Overview
We need to create the project_status 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
Create issue for updating-- This was done in the PR attached to this issue instead of creating a new one.project
table connectingcurrent_status_id
toproject_status
Post issue tasks
ready for tech lead
labelResources/Instructions
Description
Dictionary of status options for project and program_area
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)