   "Verifies that the available database version is acceptable.  Throws
   {:kind ::unsupported-database :current version :oldest version} if
   the current database is not supported."
-  [config]
+  [min-version-override]
   (let [{current :version :as meta} (sutils/db-metadata)
-        oldest (get-in config [:database :min-required-version]
-                       scf-store/oldest-allowed-db)
+        oldest (or min-version-override scf-store/oldest-allowed-db)
         supported scf-store/oldest-supported-db]
     (when (neg? (compare current oldest))
       (throw (ex-info "Database version too old"

    (try
      (when (get-in (swap! stop-status update-if-not-stopping)
                    [:collecting-garbage thread])
        (collect-garbage write-db clean-lock database request))
      (catch Exception ex
        (log/error ex)
        (throw ex))

            (let [result (try
                           (let [datasource {:datasource db-pool}]
                             (require-db-connection-as datasource migrator)
                             (jdbc/with-db-connection datasource
                               (prep-db db-config)))
                           true
                           (catch java.sql.SQLTransientConnectionException ex
                             ;; When coupled with the 3000ms timout, this
