The get-events endpoint only works if we have an event table.
We want to at least ensure that it finds an empty event table if nothing else.
Better would be prompting the user when starting the server if there is no database file. We can then give them a choice of continuing with an empty table or generating data in a timeframe of their choice.