Fix IncidentTableSeeder
This commit is contained in:
@@ -20,8 +20,6 @@ class IncidentTableSeeder extends Seeder
|
|||||||
*/
|
*/
|
||||||
public function run()
|
public function run()
|
||||||
{
|
{
|
||||||
Model::unguard();
|
|
||||||
|
|
||||||
$defaultIncidents = [
|
$defaultIncidents = [
|
||||||
[
|
[
|
||||||
'name' => 'Awesome',
|
'name' => 'Awesome',
|
||||||
@@ -29,6 +27,7 @@ class IncidentTableSeeder extends Seeder
|
|||||||
'status' => 4,
|
'status' => 4,
|
||||||
'component_id' => 0,
|
'component_id' => 0,
|
||||||
'scheduled_at' => null,
|
'scheduled_at' => null,
|
||||||
|
'visible' => 1,
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'name' => 'Monitoring the fix',
|
'name' => 'Monitoring the fix',
|
||||||
@@ -36,6 +35,7 @@ class IncidentTableSeeder extends Seeder
|
|||||||
'status' => 3,
|
'status' => 3,
|
||||||
'component_id' => 0,
|
'component_id' => 0,
|
||||||
'scheduled_at' => null,
|
'scheduled_at' => null,
|
||||||
|
'visible' => 1,
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'name' => 'Update',
|
'name' => 'Update',
|
||||||
@@ -43,12 +43,14 @@ class IncidentTableSeeder extends Seeder
|
|||||||
'status' => 2,
|
'status' => 2,
|
||||||
'component_id' => 0,
|
'component_id' => 0,
|
||||||
'scheduled_at' => null,
|
'scheduled_at' => null,
|
||||||
|
'visible' => 1,
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'name' => 'Test Incident',
|
'name' => 'Test Incident',
|
||||||
'message' => 'Something went wrong, oh noes.',
|
'message' => 'Something went wrong, oh noes.',
|
||||||
'component_id' => 0,
|
'component_id' => 0,
|
||||||
'scheduled_at' => null,
|
'scheduled_at' => null,
|
||||||
|
'visible' => 1,
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user