Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Table: project #227

Open
5 of 13 tasks
Neecolaa opened this issue Nov 30, 2023 · 0 comments
Open
5 of 13 tasks

Update Table: project #227

Neecolaa opened this issue Nov 30, 2023 · 0 comments
Labels
complexity: missing dependency Issue has dependencies feature: update table p-feature: projects project and projects PII: FALSE Table or function does not have or use Personally Identifiable Information (PII) role: back end s: CTJ stakeholder: Civic Tech Jobs s: hackforla.org stakeholder: hackforla.org website s: VRMS stakeholder: VRMS size: 0.5pt Can be done in 3 hours or less

Comments

@Neecolaa
Copy link
Member

Dependency

Overview

We need to update the project table model to update the drive and repo id fields to be foreign keys. Project_url will store the id values.

Details

Action Items

  • Update schema information
  • Update existing Django model
  • Write a test for the new relationships this model will have with other models (e.g., creating a user and assigning them a set of permissions on a project) if any.
  • Update API end point
  • Update API unit tests
  • Document the endpoint in Swagger

Changes Needed

Columns to Remove

  • None

Columns to Add

  • None

Columns to Alter

  • (FK) github_primary_repo_id - int - no longer the repo id itself, will now be a foreign key to a row in project_url that corresponds to the primary repo
  • (FK) github_org_id - int - no longer the org id itself, will now be a foreign key to a row in project_url that corresponds to the org repo link
  • (FK) google_drive_id - int - no longer the google drive id itself, will now be a foreign key to a row in project_url that corresponds to the google drive

Additional Changes

  • None

Resources

@Neecolaa Neecolaa added role: back end size: 0.5pt Can be done in 3 hours or less p-feature: projects project and projects s: CTJ stakeholder: Civic Tech Jobs s: VRMS stakeholder: VRMS s: hackforla.org stakeholder: hackforla.org website dependency Issue has dependencies PII: FALSE Table or function does not have or use Personally Identifiable Information (PII) feature: update table labels Nov 30, 2023
@Neecolaa Neecolaa added this to the v0.01 - initial setup milestone Nov 30, 2023
@shmonks shmonks moved this to Ice Box in P: PD: Project Board Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
complexity: missing dependency Issue has dependencies feature: update table p-feature: projects project and projects PII: FALSE Table or function does not have or use Personally Identifiable Information (PII) role: back end s: CTJ stakeholder: Civic Tech Jobs s: hackforla.org stakeholder: hackforla.org website s: VRMS stakeholder: VRMS size: 0.5pt Can be done in 3 hours or less
Projects
Status: 🧊Ice Box
Development

No branches or pull requests

2 participants