better logging for sql schema upgrades