Laravel-Livewire-StarterKit-TALL-stack
Laravel-Livewire-StarterKit-TALL-stack copied to clipboard
Suggestion to modify the user seeder
Every time you create or update a record in the model, Laravel will automatically update the created_at and updated_at fields because Eloquent's create method automatically adds timestamps for those fields.
The following lines could be withdrawn
https://github.com/cluzstudio/Laravel-Livewire-StarterKit-TALL-stack/blob/0d3400ff501d4e122905221a8af548d92352f3c1/database/seeders/UserSeeder.php#L22-L23