In Model User.php
protected $fillable = [
'first_name', 'email', 'password','Date',
];
Add Date in fillable in User Model
Regards Arfan
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
migration table
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUsersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function (Blueprint $table) {
$table->increments('id');
$table->date('Date');
$table->string('Project');
$table->integer('TicketNumber');
$table->Text('TicketSubject');
$table->Time('Timein');
$table->Time('Timeout');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('users');
}
}
Please or to participate in this conversation.