index/relation on tagged.tag_id
AidasK opened this issue · comments
Aidas Klimas commented
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');