Laravel8x: don't create FK with poll_id with Factory

后端 未结 0 638
情深已故
情深已故 2020-11-21 04:55

I have two models Poll and DuplicatePoll

with the respective tables:

Schema::create(\'polls\', function (Blueprint $table) {
        $table->id();           


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题