title: Find a date older than 15 days in laravel
body: <p>i need to show compare a delivery date if it is 15 days over and also show a track_track_status=0 as default.when i do this it throws the error</p>
  
  <p>Error
  Column not found: 1054 Unknown column ''delivery_date' + INTERVAL 15 DAY &lt; NOW()' in 'where clause</p>
  
  <pre><code>$secondstatus = DB::table('registrations')
              -&gt;join('ssi_tracks', 'registrations.registration_id', '=', 'ssi_tracks.registration_id')
              -&gt;select('ssi_tracks.ssi_track_id', 'address', 'model', 'chassis', 'delivery_date','ssi_tracks.track_second_status')
              -&gt;where([["ssi_tracks.track_second_status", "=", 0]])
               -&gt;orWhereRaw('registrations.delivery_date + INTERVAL 15 DAY &lt;= NOW()')
  
              -&gt;get();
  </code></pre>