id(); $table->foreignIdFor(User::class); $table->foreignIdFor(Category::class); $table->string('name'); $table->longText('description'); $table->string('location'); $table->string('time_estimate'); $table->boolean('completed'); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('tasks'); } };