"Test Incident", "message" => "Something went wrong, oh noes.", "component" => 1, ], [ "name" => "Update", "message" => "We've found the problem, so we're looking at it.", "status" => 2, "component" => 1, ], [ "name" => "Monitoring the fix", "message" => "We're checking that our fix will first work.", "status" => 3, "component" => 1, ], [ "name" => "Awesome", "message" => "We totally nailed the fix.", "status" => 4, "component" => 2, ] ]; Incident::truncate(); foreach($defaultIncidents as $incident) { Incident::create($incident); } } }