schema->create('sessions', function (Blueprint $table): void { $table->string('id')->unique(); $table->text('payload'); $table->dateTime('last_activity')->useCurrent(); }); } /** * Reverse the migration */ public function down(): void { $this->schema->dropIfExists('sessions'); } }