title: Laravel custom created_at and updated_at
body: <p>I am trying to override the laravel eloquent model constants for created_at and updated_at:</p>
  
  <pre><code>namespace App;
  
  use Illuminate\Database\Eloquent\Model;
  
   class Visit extends Model
   {
      const CREATED_AT = 'creation_date';
      const UPDATED_AT = 'last_update';
   }
  </code></pre>
  
  <p>and then get the latest entry: </p>
  
  <pre><code>dd(Visit::latest()-&gt;get());
  </code></pre>
  
  <p>but am getting an unknown column error:</p>
  
  <pre><code>"SQLSTATE[42S22]: Column not found: 1054 Unknown column 'created_at' in 
  'order clause' (SQL: select * from `visits` order by `created_at` desc)"
  </code></pre>
  
  <p>Is there anything else that needs to be done to get this working?</p>