Morph field doesn't have a default value when seeding factory relationship

后端 未结 0 1137
暖寄归人
暖寄归人 2020-11-27 09:26

I have a Recipe and Review model:

class Recipe extends Model
{
    use HasFactory;

    protected $guarded = [\'id\'];

    public f         


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