Bow before the ORM! #86
Labels
contributing
Improvements to contributing
maintenance
Something outside of a full-scale project
simplification
Simplifying code
Story Time
As a contributor to mirrors-countme,
I would like that I can use its databases easier and that their structures are well-defined,
so that I’m less likely to make mistakes.
As a contributor to or operator of mirrors-countme,
I would like to have a well-defined way to manage changes in the database structure,
so I don’t lose sleep over this when it happens.
Acceptance Criteria
Background
Right now, database accesses are all hand-written SQL (all across the code), partly inspecting table structure in one place, partly creating indexes on the spot in another, so that it’s easiest to just run the tools and see how tables look like. A defined model would make this much more manageable and approachable.
Also, we just so skirted the need to change the DB structure which would have gotten really hairy. 😬
The text was updated successfully, but these errors were encountered: