By default Laravel expect a created_at and updated_at column in your tables.
You can disable it with public $timestamps = false; on your model, or you can add the columns to your database. In your migration you can do it with: $table->timestamps(); that will generate both columns.
See https://laravel.com/docs/7.x/eloquent#introduction and search for the title Timestamps for more information.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.