code: protected function findTableNames($schema = '')
      {
          $sql = 'SHOW TABLES';
          if ($schema !== '') {
              $sql .= ' FROM ' . $this->quoteSimpleTableName($schema);
          }
  
          return $this->db->createCommand($sql)->queryColumn();
      }
docs: {@inheritdoc}