comment('The last time each scheduled task was run.'); $table->bigIncrements('scheduled_task_id'); $table->string('class_name', 255); $table->datetime('last_run')->nullable(); $table->unique(['class_name'], 'scheduled_tasks_unique'); }); } /** * Reverse the migration. */ public function down(): void { Schema::drop('scheduled_tasks'); } }