title: Unknown Column Error when creating Custom Password Reset - Laravel
body: <p><strong>What it has to do :</strong></p>
  
  <p>I am trying to create my own password reset from scratch using Laravel. 
  I have a password_resets table which has 3 columns : email, token, created_at .
  I am getting the user to enter his email to which the password reset mail is to be sent. 
  After the user enters the email, the function "send" in my ResetController checks whether the the email id exists in the table of users. 
  If it exists, then a token is created and then the email and token is stored in the password_resets table.
  Then a recovery mail is sent to the email address with a link to reset the password.</p>
  
  <p><strong>Where it goes wrong</strong></p>
  
  <p>When I try to save the data to my password_resets table, laravel throws this error: </p>
  
  <blockquote>
    <p>SQLSTATE[42S22]: Column not found: 1054 Unknown column 'updated_at' in 'field list' (SQL: insert into <code>password_resets</code> (<code>updated_at</code>, <code>created_at</code>) values (2018-07-07 13:11:15, 2018-07-07 13:11:15))</p>
  </blockquote>
  
  <p>But there is no updated_at column in my password_resets table</p>
  
  <p>Below is the Structure of the password_resets table :</p>
  
  <blockquote>
    <p>email      varchar(191) -
     token      varchar(191) -
     created_at  timestamp  </p>
  </blockquote>
  
  <p>My ResetController file :</p>
  
  <pre><code>&lt;?php
  
  namespace App\Http\Controllers;
  
  use Illuminate\Http\Request;
  
  use App\User;
  use App\PasswordReset;
  
  class ResetController extends Controller
  {
    public function show() 
    {
      return view('reset.index');
    }
  
    public function send() 
    {
          $email = request('resetemail');
  
          if(User::get()-&gt;where('email','lol@lol.com')!=null)
          {
              $token = bin2hex(openssl_random_pseudo_bytes(16));
  
              PasswordReset::create([
              'email'=&gt; $email,
              'token'=&gt; $token
              ]);
          }
     }  
   }
  </code></pre>