How to Disable Laravel's Timestamps in Your Models #laravel #shorts
In this tutorial, you'll learn how to take control of your Laravel database by disabling the auto-generation of timestamps for your models. By overriding the $timestamps property and creating the created_at and updated_at columns manually, you can customize your database to fit your needs and avoid auto-generated timestamps. Follow these simple steps to gain greater control over your Laravel projects and tailor your database to your specific needs.
📚 New Udemy Course
If you're looking to level up your Laravel skills? My new course "Mastering Laravel 10 Query Builder, Eloquent & Relationships" is the perfect opportunity. Learn the essential tools and techniques for building robust and scalable web applications with Laravel: https://www.udemy.com/course/mastering-laravel-10-query-builder-eloquent-relationships/?referralCode=C784C3DB5B8925207FCB
🔥 Resources
- Twitter: https://twitter.com/codewithdary
- Instagram: https://www.instagram.com/codewithdary/
- Blog: https://blog.codewithdary.com/
- Patreon: https://www.patreon.com/user?u=30307830
- GitHub: https://github.com/codewithdary
- TikTok: https://www.tiktok.com/@codewithdary
#laravel #filamentphp #shorts #codewithdary