Laravel Seeder throws SQLSTATE[42000]: Syntax error or access violation
I am having the following db tables // Table 1: Foos id, foo_name, foo_type, created_at, updated_at // Table 2: Bars id, bar_name, bar_type, parent_id, foo_id [ForeignKey], created_at, updated_at // Table 3: Quxes id, qux_name, bar_id [ForeignKey], created_at, updated_at And I…