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