I'll give it a try and open a MR on salsa.d.o to solve this. (I guess
that changing the schema itself should be trivial. I will only have to
think a little bit about the migration process of the current DB.)
TTBOMK, the schema Is just handled pseudo-manually, so any change would need to be applied directly.
I'm not even sure if the schema dump in git is current anymore (being 7 months old).
Also, thank you for the analysis, and the upcoming patch! :)