id(); $table->foreignId('comment_id') ->constrained(config('comments.tables.comments', 'comments')) ->cascadeOnDelete(); $table->morphs('user'); $table->string('reaction'); $table->timestamps(); $table->unique(['comment_id', 'user_id', 'user_type', 'reaction']); }); } };