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: stack_element_type #206

Closed
4 of 9 tasks
Neecolaa opened this issue Sep 25, 2023 · 7 comments · Fixed by #220
Closed
4 of 9 tasks

Create Table: stack_element_type #206

Neecolaa opened this issue Sep 25, 2023 · 7 comments · Fixed by #220
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: VRMS stakeholder: VRMS size: 2pt Can be done in 7-12 hours

Comments

@Neecolaa
Copy link
Member

Neecolaa commented Sep 25, 2023

Dependency

Overview

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

Indicating whether a record in the ttl table is a technology, tool, or language (and possibly other types in the future).

Data Fields

  1. New fields
    • (PK) id - int - Record Id
    • name - varchar
    • description - varchar

Associated Tables

  1. New associations
    • stack_element (one-to-many)
@Neecolaa Neecolaa added role: back end size: 2pt Can be done in 7-12 hours Feature: Table Creation role: db architect p-feature: projects project and projects s: CTJ stakeholder: Civic Tech Jobs s: VRMS stakeholder: VRMS s: hackforla.org stakeholder: hackforla.org website draft This issue is not fully-written PII: FALSE Table or function does not have or use Personally Identifiable Information (PII) Feature: ERD/SS Adjustment Requires adjustments to be made to the ERD & Spreadsheet labels Sep 25, 2023
@Neecolaa Neecolaa added dependency Issue has dependencies and removed draft This issue is not fully-written role: db architect Feature: ERD/SS Adjustment Requires adjustments to be made to the ERD & Spreadsheet labels Sep 25, 2023
@Neecolaa Neecolaa changed the title Create Table: ttl_type Create Table: stack_element_type Sep 29, 2023
@Neecolaa Neecolaa removed the dependency Issue has dependencies label Sep 29, 2023
@AzaniaBG AzaniaBG self-assigned this Oct 1, 2023
@AzaniaBG AzaniaBG mentioned this issue Oct 3, 2023
3 tasks
@AzaniaBG
Copy link
Member

AzaniaBG commented Oct 3, 2023

Availability:
Tuesday: 12:45 - 1:45 PM
Wednesday: 8 - 9 AM
Thursday: 10:30 - 12:30 PM
Note: I added a link to the ERD and Table and Field Definitions in this issue (under Resources/Instructions)

@AzaniaBG
Copy link
Member

AzaniaBG commented Oct 4, 2023

In addition to tasks above the following were done so far:

  • Register model
  • Create a Serializer
  • Create a ViewSet
  • Register the API endpoint (ViewSet)

@AzaniaBG
Copy link
Member

I need help with this, and posted my issue in Slack earlier this week.

@AzaniaBG
Copy link
Member

AzaniaBG commented Oct 22, 2023

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).

Questions:

  • what's the best way to test that the table is working properly?

@AzaniaBG
Copy link
Member

AzaniaBG commented Nov 3, 2023

Working on the requested changes - availability:
11/3: 10 AM - 12 PM
11/6: 10 AM - 12 PM

@AzaniaBG
Copy link
Member

Working on requested changes. I will follow up with Fang if I can't figure out the issues I'm facing.
Availability:
11/11: 9 AM - 12 PM
11/12: 9 AM - 12 PM

@AzaniaBG
Copy link
Member

I re-requested review today.

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: VRMS stakeholder: VRMS size: 2pt Can be done in 7-12 hours
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants