phoenixlan / phoenixapi-v1

Python-based api server for a self-hosted event hosting system
GNU General Public License v3.0
2 stars 0 forks source link

Create event type table #43

Open petterroea opened 9 months ago

petterroea commented 9 months ago

This table should contain all event types the API hosts.

Fields:

The database migration should create a default type.

We should then refactor event so every event points to an event type. The migration where we do this should select an event type from the event type table and use this, so we support applying the migration to an existing running production setup.