Fix for db schema versioning not working at all meaning that reloads taking absurd amounts of time