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

Create Table: project_language_xref #64

Closed
11 of 16 tasks
ericvennemeyer opened this issue Sep 9, 2022 · 7 comments
Closed
11 of 16 tasks

Create Table: project_language_xref #64

ericvennemeyer opened this issue Sep 9, 2022 · 7 comments
Assignees
Labels
complexity: missing feature: table creation 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: org stakeholder: the org (includes stats) s: VRMS stakeholder: VRMS size: 2pt Can be done in 7-12 hours

Comments

@ericvennemeyer
Copy link
Member

ericvennemeyer commented Sep 9, 2022

Dependency

Overview

We need to create the project_language_xref 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

  • identify and document table description (see spreadsheet under Resources)
    • if not, reach out to PD leads
  • 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)
  • 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).
  • write an API end point
  • write API unit tests
  • document the endpoint

Resources/Instructions

Description

Join project to language

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)

    • (PK) id - int - Record Id
    • (PK,FK) project_id - int - Record Id
    • (PK,FK) language_id - int - Record Id
    • created - timestamp
    • ended - timestamp
  2. In ERD only (having items here indicates a mismatch, which requires a review)

    • None

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)

    • language (many-to-one)
    • project (many-to-one)
  2. In ERD only (having items here indicates a mismatch, which requires a review)

    • None
@fyliu fyliu added good first issue Good for newcomers and removed good first issue Good for newcomers labels Sep 20, 2022
@fyliu fyliu added this to the All tables added milestone Sep 25, 2022
@ExperimentsInHonesty ExperimentsInHonesty added p-feature: projects project and projects stakeholder: missing s: VRMS stakeholder: VRMS s: hackforla.org stakeholder: hackforla.org website s: org stakeholder: the org (includes stats) and removed stakeholder: missing labels Mar 5, 2023
@ExperimentsInHonesty ExperimentsInHonesty added the s: CTJ stakeholder: Civic Tech Jobs label Mar 5, 2023
@ExperimentsInHonesty ExperimentsInHonesty added the PII: FALSE Table or function does not have or use Personally Identifiable Information (PII) label May 4, 2023
@fyliu
Copy link
Member

fyliu commented May 20, 2023

This is better done after the language table since it references it.

@fyliu fyliu mentioned this issue May 20, 2023
17 tasks
@AzaniaBG AzaniaBG self-assigned this Sep 7, 2023
@AzaniaBG
Copy link
Member

AzaniaBG commented Sep 7, 2023

The corresponding language issue is finished, so I moved this from the Ice Box.
Availability for this week:
Saturday 6 - 7 AM
Wednesday 6 - 7:45 AM
Thursday 6 - 7:45 AM

@AzaniaBG
Copy link
Member

Update: I haven't been able to work on this issue (really busy with work). I'm hoping to have this finished by next Thursday.

Availability:
Friday (9/14): 6 - 7 AM
Saturday 7 - 10 AM
Wednesday: 6 - 7 AM
Thursday: 6 - 7 AM

@AzaniaBG
Copy link
Member

Update: it doesn't look like the last issue, #54, was merged to the HfLA main repo. This should be merged before I start working on #64, per Fang's comment.

@AzaniaBG
Copy link
Member

AzaniaBG commented Sep 24, 2023

I'm waiting to hear back on what the new xref table will be (this issue, as well as the language table may go away, per issue #202).

@AzaniaBG
Copy link
Member

AzaniaBG commented Sep 29, 2023

I moved this issue to the ice box, per discussion with @Neecolaa.

@Neecolaa
Copy link
Member

@Neecolaa Neecolaa closed this as not planned Won't fix, can't repro, duplicate, stale Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
complexity: missing feature: table creation 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: org stakeholder: the org (includes stats) s: VRMS stakeholder: VRMS size: 2pt Can be done in 7-12 hours
Projects
Status: ✅Done
Development

No branches or pull requests

5 participants