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