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: cancelled_event #57

Open
9 of 18 tasks
ericvennemeyer opened this issue Sep 9, 2022 · 2 comments
Open
9 of 18 tasks

Create Table: cancelled_event #57

ericvennemeyer opened this issue Sep 9, 2022 · 2 comments
Labels
complexity: missing dependency Issue has dependencies draft This issue is not fully-written feature: table creation p-feature: events PII: FALSE Table or function does not have or use Personally Identifiable Information (PII) role: back end 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 cancelled_event table so that ???

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

Events that have been cancelled

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
    • (FK) recurring_event_id - int - Record Id
    • (FK) project_id - int - Record Id
    • cancelled_event_date - date
    • reason - varchar
    • (FK) user_id - int - Record Id
  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)

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

    • None
@fyliu fyliu added this to the All tables added milestone Sep 25, 2022
@ExperimentsInHonesty ExperimentsInHonesty added the draft This issue is not fully-written label Mar 31, 2023
@ExperimentsInHonesty ExperimentsInHonesty added the PII: FALSE Table or function does not have or use Personally Identifiable Information (PII) label May 4, 2023
@PlantGirlCodes
Copy link
Member

PlantGirlCodes commented Jul 21, 2023

@fyliu
Copy link
Member

fyliu commented Jul 21, 2023

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 draft This issue is not fully-written feature: table creation p-feature: events PII: FALSE Table or function does not have or use Personally Identifiable Information (PII) role: back end s: VRMS stakeholder: VRMS size: 2pt Can be done in 7-12 hours
Projects
Status: 🧊Ice Box
Development

No branches or pull requests

4 participants