/**
  * Swallow a schema not upgraded exception, otherwise rethrow it
  *
  * @param \DatabaseException $exception The exception to handle
  * @param string             $default   The value to return if the table doesn't exist yet
  * 
  * @return mixed
  *
  * @throws \DatabaseException
  */
 protected function handleDbException(\DatabaseException $exception, $default = null)
 {
     if (false !== strpos($exception->getMessage(), "users_remember_me_cookies' doesn't exist")) {
         // schema has not been updated so we swallow this exception
         return $default;
     } else {
         throw $exception;
     }
 }