hackforla / peopledepot

A project to setup a datastore for people and projects at HackforLA. The link below takes you to the code documentation
https://hackforla.github.io/peopledepot/
GNU General Public License v2.0
7 stars 26 forks source link

Create Table: organization (formerly brigade) #56

Open ericvennemeyer opened 2 years ago

ericvennemeyer commented 2 years ago

Overview

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

Resources/Instructions

Description

List of organizations (formerly brigades)

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)

    • [x] (PK) id - int - Record Id
    • [x] name - varchar()
    • [x] time_zone - varchar()
  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)

    • [x] recurring_event (one-to-many) #173
    • [x] user_check (one-to-many) #80
  2. In ERD only (having items here indicates a mismatch, which requires a review)

    • None
Neecolaa commented 9 months ago

This table will be renamed to organization

Updates needed:

After updates

Neecolaa commented 8 months ago

Questions:

fyliu commented 7 months ago

We talked about the first one at the meeting but I want to comment so it's recorded. We don't need to wait for the event schema redesign. Event will still reference organization in the same way. So it's fine to create an issue now to update the event table.

The other thing we talked about was whether we want to create the relationship between organization and affiliate, whether it's a sponsor and/or partner. Currently, there's no relationship and the affiliate object just has the fields is_org_partner and is_org_sponsor in it.

ExperimentsInHonesty commented 5 months ago

@Neecolaa do you feel you have enough answers in order to finish this issue?