Disabling Timestamps in Laravel

In Laravel the columns created_at, deleted_at, updated_at are generated during table creation or migration. This seems a nice feature but the problem is that when we are trying to migrate from an older framework to Laravel we have to disable the timestamp from all the model to prevent from the further display of errors. We can disable timestamp by setting

$timestamps = false; 

in Vendor\laravel\framework\src\illuminate\Datebase\Eloquent\Model.php.

But when the project is big we cannot open every model file and keep doing this.

You don't have to create a Base model for this. The pivot tables must have timestamp only if you are using Eloquent. In Laravel versions above Laravel 3 timestamps are not required in pivot tables. You can disable the timestamps just by removing

$table->timestamp();

from migrations.