标签: laravel-5
如何在播种器类PostTagTableSeeder中要求设置表模型的路径时,如何有效地为数据透视表设定种子
TestDummy ::倍(10) - >创建( '应用\模型');
但由于数据透视表没有模型,我不知道要填写什么。
我应该使用表格的名字吗?像
TestDummy ::倍(10) - >创建( 'post_tag');