title: Error: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'username' cannot be null
body: <p>Even though I am entering the value of username but whenever i press the submit button this error occurs </p>
  
  <p>And other form fields are working just fine.</p>
  
  <pre><code> $values = array('email' =&gt; $request-&gt;email,'username' =&gt; $request-&gt;user_name, 'password' =&gt; $request-&gt;password);
  
   $test = DB::table('users')-&gt;insert($values);
  </code></pre>