title: Get column names in Laravel as ordered on the Table
body: <p>I am using the following method to get the column names of the database tables of my Laravel (v5.6.24) project. I am using mysql and it was working fine as expected. But from this week the columns names are showing as ordered by name. Previously it was showing names as in order as the actual table. </p>
  
  <p>How can i get the column names in same order as the table?</p>
  
  <pre><code>/*
   * Get Table Column Names
   */
  public function getTableColumns()
  {
      return $this-&gt;getConnection()-&gt;getSchemaBuilder()-&gt;getColumnListing($this-&gt;getTable());
  }
  </code></pre>