I am migrating a site from codeigniter to Laravel.
For a legacy table reports
, some existing columns created_at
and updated_at
are named date_created
and date_modified
respectively.
I wish to tell my eloquent Report
model about these custom timestamp column names.
The documentation only provide reference to turning timestamps off or providing custom timestamp formats.
http://laravel.com/docs/eloquent#timestamps