Answers for "how to disable created at and update at in laravel"

PHP
11

laravel model without timestamps

<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Post extends Model
{
    public $timestamps = false;

    //
}
Posted by: Guest on April-03-2020

Code answers related to "how to disable created at and update at in laravel"

Browse Popular Code Answers by Language