Truncate incident updates before seeding

This commit is contained in:
James Brooks
2016-10-09 11:19:16 +01:00
parent 20e585a879
commit 1327ea985e

View File

@@ -222,6 +222,7 @@ EINCIDENT;
];
Incident::truncate();
IncidentUpdate::truncate();
foreach ($defaultIncidents as $defaultIncident) {
$incident = Incident::create($defaultIncident);