original_string: public function validateDb()
      {
          $existing = $this->db->query('SHOW TABLES')->fetchColumn();
  
          if (empty($existing)) {
              return true;
          }
  
          return $this->translation->text('The database you specified already has tables');
      }
code: public function validateDb()
      {
          $existing = $this->db->query('SHOW TABLES')->fetchColumn();
  
          if (empty($existing)) {
              return true;
          }
  
          return $this->translation->text('The database you specified already has tables');
      }
code_tokens: public function validateDb ( ) { $ existing = $ this -> db -> query ( 'SHOW TABLES' ) -> fetchColumn ( ) ; if ( empty ( $ existing ) ) { return true ; } return $ this -> translation -> text ( 'The database you specified already has tables' ) ; }
docstring: Validate the database is ready for installation process
  @return boolean|string
docstring_tokens: Validate the database is ready for installation process