Answers for "timestamp false 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
0

timestamp false in laravel

<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Post extends Model
{
    public $timestamps = false;

    //
}
Posted by: Guest on September-15-2021

Browse Popular Code Answers by Language