id(); $table->unsignedBigInteger('user_id'); $table->unsignedBigInteger('giving_id')->nullable(); $table->foreign('giving_id')->references('id')->on('participants')->onDelete('set null'); $table->string('prompt')->nullable(); $table->string('submission_url')->nullable(); $table->string('token'); $table->timestamps(); $table->softDeletes(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('participants'); } };