id(); $table->foreignId('comment_id') ->constrained(config('comments.table_names.comments', 'comments')) ->cascadeOnDelete(); $table->morphs('commenter'); $table->timestamps(); $table->unique(['comment_id', 'commenter_id', 'commenter_type']); }); } };