Hello KeepYourShirtOn,
The thing is it is going to try to update that database no matter what the next version you try to update with. I would suspect it is running out of memory or disk or something when trying to make the integers 64bit instead of 32bit in your current tables.
My suggestion would be to use sqlite going forward. If you want to save the data there are ways, otherwise take that code out of recorder and just start up the default database. It should be much more stable for you, and a couple of years ago I was a proponent of using something different. Been on sqlite for years no tough.
Migrate back from MariaDB to the default SQLite.
Postgresql to SQLite migration, moving back to SQLite.