updated at and created at using migration laravel 8 code example
Example 1: laravel make model with migration 5.8
php artisan make:model Settings --migration
Example 2: Generate Laravel Migrations from an existing database
composer require --dev "xethron/migrations-generator"