title: getting error while inserting data to mysql database in laravel 5
body: <p>My database is working fine with my laravel application but while i was trying to insert data to my database i am facing a error:</p>
  
  <blockquote>
    <p>SQLSTATE[42S22]: Column not found: 1054 Unknown column 'updated_at' in
    'field list' (SQL: insert into <code>articles</code> (<code>article_head</code>,
    <code>article_body</code>, <code>updated_at</code>, <code>created_at</code>) values (, , 2016-04-27
    18:40:58, 2016-04-27 18:40:58))</p>
  </blockquote>
  
  <p>My view file</p>
  
  <pre><code>&lt;form method="post" action="{{ url('saving_data') }}"&gt;
    {!! csrf_field() !!}
      &lt;div class="form-group"&gt;
        &lt;label for="write_heading"&gt;Write Heading:&lt;/label&gt;
        &lt;textarea class="form-control" rows="3" cols="10" id="write_heading" name="article_head" style="resize: none;"&gt;&lt;/textarea&gt;
        &lt;label for="write_post"&gt;Write Post:&lt;/label&gt;
        &lt;textarea class="form-control" rows="15" cols="10" id="write_post" name="article_body" placeholder="write something awesome!!" style="resize: none;"&gt;&lt;/textarea&gt;
        &lt;br&gt;
        &lt;div class="model-footer"&gt;
          &lt;button type='submit' class='btn btn-primary create_button'&gt;Create&lt;/button&gt;
          &lt;button type='reset' class='btn btn-default reset_button'&gt;Reset&lt;/button&gt;
  
          &lt;button type="button" class="btn btn-danger close_button" data-dismiss="modal"&gt;Close&lt;/button&gt;
        &lt;/div&gt;
  
      &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>my controller code</p>
  
  <pre><code>class ArticleEditor extends Controller
  {
      //insert article to database
      public function insert_article(Request $request) {
  
        $Article = new article;
  
        $Article-&gt;article_head = $request-&gt;article_head;
        $Article-&gt;article_body = $request-&gt;article_body;
  
        $Article-&gt;save();
  
        return redirect('/dashboard');
      }
  }
  </code></pre>
  
  <p>Migration file</p>
  
  <pre><code>    public function up()
      {
          Schema::create('articles', function(Blueprint $table)
          {
              $table-&gt;increments('article_id');
              $table-&gt;string('article_head', 500);
              $table-&gt;string('article_body', 10000);
              $table-&gt;dateTime('created_on');
          });
      }
  </code></pre>