<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Post extends Model { public $timestamps = false; # disable created_at and updated_at }
How to Disable Timestamp in Laravel
Learn how to disable timestamp (created_at and updated_at) in Laravel
Created on Aug 01, 2021
•409 views
If you like our tutorial, do make sure to support us by being our Patreon or buy us some coffee ☕️
Load comments for How to Disable Timestamp in Laravel
PostSrc Code Components
Collection of Tailwind CSS components for everyone to use. Browse all of the components that are right for your project.
View ComponentsSponsors 👑
+ Add YoursOther Code Snippets
All Snippets
How to add a robots.txt file to a Next.js project
1 year ago

How to Copy Styling and Scripts from node_modules in Laravel
2 years ago

Flutter Hello World and Number Counter Example
1 year ago

Laravel Where In Condition
2 years ago

How to get base URL in Laravel
2 years ago

Laravel Inertia SEO Optimisation Component
1 year ago