private function getMissingIndexesByTable()
 {
     $missingIndexesByTable = [];
     foreach ($this->db->listTables() as $tableName) {
         $missingIndexes = $this->db->listMissingForeignKeyIndexes($tableName);
         if (count($missingIndexes)) {
             $missingIndexesByTable[$tableName] = $missingIndexes;
         }
     }
     return $missingIndexesByTable;
 }