Skip to content

Event database table update #156

Description

@jbriones1

Description

We currently have no way of assigning a poster to an event. The events will live on this web server for now, but may change later (no need to worry about this).

Features

  • Ability to add an image filename to an event, either through adding a new column, OR adding a new table that will reference the main event table. Can discuss the behaviour further in the comments, but I think adding a new table will be better.
  • The new column will indicate the filename, with some way to generate the full path based on the event series/event structure. Structure of the path will be constants or environment variables held on the web server.
  • The images need to be supported in the existing code, so updating/creating an event or event occurrence needs to be handled.
  • If a second table is added which defines every single event in a series, we can either pre-compute these entries and store them in that table, but we need to handle it a different way if they're infinitely recurring. We could also just make infinitely recurring events impossible.
  • Create an endpoint that can fetch all events in an event series.

Problems

  • If we pre-compute, how do we handle exceptions? For example, if an event runs every 2 weeks, but one event is missed, should we delete the event or have something that tracks exceptions?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status
In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions