Disable it temporarily:
$user = User::find(1);
$user->timestamps = false;
$user->age = 72;
$user->save();
You can optionally re-enable them after saving.
This is a Laravel 4 and 5 only feature and does not apply to Laravel 3.
More Related Contents:
- Laravel Check If Related Model Exists
- How to alias a table in Laravel Eloquent queries (or using Query Builder)?
- Laravel Eloquent: How to order results of related models?
- Laravel 4: how to “order by” using Eloquent ORM [duplicate]
- How to set a default attribute value for a Laravel / Eloquent model?
- Laravel Eloquent – Attach vs Sync
- How to create a subquery using Laravel Eloquent?
- Eloquent model mass update
- How can I query raw via Eloquent?
- Find or Create with Eloquent
- Laravel Many to many self referencing table only works one way
- How do I get the query builder to output its raw SQL query as a string?
- How Can I Remove “public/index.php” in the URL Generated Laravel?
- Laravel Model with Two Primary Keys update [duplicate]
- Laravel eager loading with limit
- Laravel pagination pretty URL
- Laravel OrderBy relationship count
- How to change / Custom password field name for Laravel 4 and Laravel 5 user authentication [duplicate]
- Laravel mail: pass string instead of view
- Laravel – Database, Table and Column Naming Conventions?
- Order By before Group By using Eloquent (Laravel)
- How to Merge Two Eloquent Collections?
- Laravel and view caching in development — can’t see changes right away
- Laravel 4.1: How to paginate eloquent eager relationship?
- How to send data using redirect with Laravel
- Laravel Auth:attempt() will not persist login
- Can one modify the templates created by artisan migrate command?
- How to create a database-driven multi-level navigation menu using Laravel
- Avoid public folder of laravel and open directly the root in web server
- Laravel Eloquent update just if changes have been made