Commit graph

3 commits

Author SHA1 Message Date
Peter Vacho b1d3fa0600
Use datetime for start & end in events
Storing date & time individually did originally seem like a better idea,
as it allowed nice indexing of the days which makes for faster lookups,
however, since standalone day & time informations don't carry timezone
data, doing this is problematic.

One option would be to introduce another field for the timezone, but
this just seems to be needlessly to complex, instead, store the start &
end event times as full datetimes. These will still be indexed and
should still result in sufficiently fast lookups.

Additionally, this also adds a compound index for start time & end time,
to improve speeds when searching by both at once.
2024-12-29 23:17:01 +01:00
Peter Vacho b240612ee2
Don't allow specifying attendees on event creation 2024-12-29 17:32:38 +01:00
Peter Vacho 187a04e0fc
Add populate_db script for quick debugging 2024-12-29 17:18:28 +01:00