NickWedzinga / BlekingePoGO

Bot automating and managing the BlekingePoGO server.
3 stars 0 forks source link

DB: Replace raw queries and manual schema with DAO and migration #196

Open NickWedzinga opened 1 year ago

NickWedzinga commented 1 year ago

Seems like SQLAlchemy (which we already use) has support for creating ORM mapped classes which we can use as a DAO. This would have to replace the current way we connect to db. This should also be possible to setup initial schema. Is there support for migration?