tags icon indicating copy to clipboard operation
tags copied to clipboard

index/relation on tagged.tag_id

Open AidasK opened this issue 5 years ago • 0 comments

Why there is no index/relation on tagged.tag_id? I think it would be a huge performance and consistency boost

I think we should add $table->foreign('tag_id')->references('id')->on('tags')->onDelete('cascade')->onUpdate('cascade');

AidasK avatar Oct 14 '20 12:10 AidasK