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
5 stars 24 forks source link

Update Table: recurring_event (rename to event) #173

Closed Neecolaa closed 8 months ago

Neecolaa commented 12 months ago

Overview

We need to update the recurring_event table model (now the event table model) to utilize the practice area table instead of the outdated role table.

Details

The initial model issue is #14

Discussion leading to this change is here: https://github.com/hackforla/peopledepot/discussions/170

Action Items

Changes Needed

Columns to Remove

Columns to Add

Additional Changes

fyliu commented 11 months ago

Related tasks:

Neecolaa commented 11 months ago

Pull request #85 already added the recurring_event table. It seems more worth it to just rename that table, rather than removing it now and later replacing it with a slightly different event table.

Update Table issues are only for when a table is already created. If not, we just revise the existing issue and leave a comment.

fyliu commented 11 months ago

Okay, We'll do the rename then. I was thinking of going the other way. We'll see if django is smart enough to do a database rename or if it'll drop and create a new table.

I was originally thinking it's simpler to redo this from scratch in 1 step rather than make these changes and then add the recurrence field in #88 which would be 2 steps. But now I see it's probably better to make smaller changes.

fyliu commented 2 months ago

Looks like some changes in this issue wasn't implemented in code. I'm creating a new issue for them.