title: Eloquent updateOrCreate error: General error: 1364 Field doesn't exist
body: <p>I am trying to use the updateOrCreate function and it was working earlier however when I added a new row called <code>user</code> it has stopped working even though my updateOrCreate look like this:</p>
  
  <pre><code>SystemCoreStats::updateOrCreate(['id' =&gt; $systemId],['type' =&gt; $type, 'stat_build_store' =&gt; $val, 'user' =&gt; $user-&gt;id]);
  </code></pre>
  
  <p>I don't understand what I am doing wrong.</p>