Seed the incident user

This commit is contained in:
James Brooks
2018-03-26 20:54:10 +01:00
parent 0d30b7756b
commit 3f26f40fae
+3 -1
View File
@@ -85,6 +85,7 @@ class DemoSeederCommand extends Command
return; return;
} }
$this->seedUsers();
$this->seedActions(); $this->seedActions();
$this->seedComponentGroups(); $this->seedComponentGroups();
$this->seedComponents(); $this->seedComponents();
@@ -95,7 +96,6 @@ class DemoSeederCommand extends Command
$this->seedSchedules(); $this->seedSchedules();
$this->seedSettings(); $this->seedSettings();
$this->seedSubscribers(); $this->seedSubscribers();
$this->seedUsers();
$this->info('Database seeded with demo data successfully!'); $this->info('Database seeded with demo data successfully!');
} }
@@ -223,6 +223,7 @@ EINCIDENT;
'component_id' => 0, 'component_id' => 0,
'visible' => 1, 'visible' => 1,
'stickied' => false, 'stickied' => false,
'user_id' => 1,
'occurred_at' => Carbon::now(), 'occurred_at' => Carbon::now(),
], ],
[ [
@@ -232,6 +233,7 @@ EINCIDENT;
'component_id' => 0, 'component_id' => 0,
'visible' => 1, 'visible' => 1,
'stickied' => false, 'stickied' => false,
'user_id' => 1,
'occurred_at' => Carbon::now(), 'occurred_at' => Carbon::now(),
], ],
]; ];