Laravel Model Without Timestamps

Source URL:

Language: php

Created on: 2020-04-03 13:58:42


namespace App;

use Illuminate\Database\Eloquent\Model;

class Post extends Model
    public $timestamps = false;

I'm in the process of converting one of our web applications from CodeIgniter to Laravel. However at this moment we don't want to add the updated_at / created_at fields to all of our tables as we h...