Incidents belong to a component. Tidy and docbloc code too.

This commit is contained in:
James Brooks
2014-11-25 09:08:04 +00:00
parent b931c59ae6
commit 7dd54010a2
2 changed files with 36 additions and 20 deletions

View File

@@ -14,22 +14,26 @@ class IncidentTableSeeder extends Seeder {
$defaultIncidents = [
[
"name" => "Test Incident",
"message" => "Something went wrong, oh noes."
"message" => "Something went wrong, oh noes.",
"component" => 1,
],
[
"name" => "Update",
"message" => "We've found the problem, so we're looking at it.",
"status" => 2
"status" => 2,
"component" => 1,
],
[
"name" => "Monitoring the fix",
"message" => "We're checking that our fix will first work.",
"status" => 3
"status" => 3,
"component" => 1,
],
[
"name" => "Awesome",
"message" => "We totally nailed the fix.",
"status" => 4
"status" => 4,
"component" => 2,
]
];