Greatly improve the detection of when to do database upgrades.
Add more logging.   Welcome to produciton use cases. :)