geeksforsocialchange / PlaceCal

Bring your community together
https://placecal.org
GNU Affero General Public License v3.0
17 stars 8 forks source link

Remove unused tables / models #1950

Open ivan-kocienski-gfsc opened 1 year ago

ivan-kocienski-gfsc commented 1 year ago

Description

There are a number of tables that get created in the database bring-up that aren't used in the code and should be removed.

Motivation

They take up time/space in code and are confusing when trying to read code.

Acceptance criteria

Developer notes

Follow on work

Leave the rest of the tables / models for review and possible clear out.

Tasks

ivan-kocienski-gfsc commented 1 year ago

Tables that exist that have no models

Organisation relationship

Collections

Supporters

r-ferrier commented 9 months ago

We think this needs the following to progress:

ivan-kocienski-gfsc commented 9 months ago

Had a chat with @kimadactyl and we have PO sign off.

Will investigate the code to see what needs to be touched.

kimadactyl commented 9 months ago

i would say the organisation relationship thing is useful if unused atm and maybe a sep discussion

we get asked for things like this A LOT by people with money so it could be a sooner than later ticket https://github.com/geeksforsocialchange/PlaceCal/issues/1215

again if we want to remake fine but i think it might be more effort than its worth to disentangle

ivan-kocienski-gfsc commented 9 months ago

We did a bit of digging and the organisation relation is used e.g. here. There is an issue touching this. And there is a dump of the entire table.

kimadactyl commented 9 months ago

yeah i would not tug at this one right now personally!