id(); $table->foreignId ("activity_id")->constrained ()->onDelete ("cascade"); $table->foreignId ("note_id")->constrained ()->onDelete ("cascade"); $table->foreignId ("actor_id")->constrained ()->onDelete ("cascade"); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('likes'); } };