title: On existing record skip otherwise insert data Laravel Eloquent
body: <p>I have the following table structure which I seed dynamically from API</p>
  
  <pre><code>public function up() {
      Schema::create('reports', function(Blueprint $table) {
          $table-&gt;engine = 'InnoDB';
          $table-&gt;increments('id');
          $table-&gt;integer('program_id')-&gt;unique();
          $table-&gt;date('date');
          .
          .
          .
          $table-&gt;timestamps();
      });
  </code></pre>
  
  <p>on each API request I get back an array of Data and I try to save theme in the table above. If program_id exist I would like to ignore those records and save the new one.
  I've been looking around but I do not find the best way the validate the specific value in retrieved array</p>
  
  <pre><code>SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '528027827' for key 'reports_program_id_unique
  </code></pre>
  
  <p>The way as I save my records</p>
  
  <pre><code>// $datas are the field datas from API
  foreach ($datas as $data) 
  {
        $report = \Td\Reports\Reports\Reports::firstOrCreate($data);
  }
  </code></pre>
  
  <p>How to skip insert on existing program_id and insert just the new ones?</p>