Make sure we only run the upgrade scripts if there is an previous database version set.