id(); $table->timestamps(); $table->foreignId('collective_id') ->constrained('collectives') ->onUpdate('cascade') ->onDelete('cascade'); $table->string('url'); $table->string('subject'); $table->string('image'); $table->boolean('approved'); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('joined'); } };