Seed the incident user

This commit is contained in:
James Brooks
2018-03-26 20:54:10 +01:00
parent 0d30b7756b
commit 3f26f40fae

View File

@@ -85,6 +85,7 @@ class DemoSeederCommand extends Command
return;
}
$this->seedUsers();
$this->seedActions();
$this->seedComponentGroups();
$this->seedComponents();
@@ -95,7 +96,6 @@ class DemoSeederCommand extends Command
$this->seedSchedules();
$this->seedSettings();
$this->seedSubscribers();
$this->seedUsers();
$this->info('Database seeded with demo data successfully!');
}
@@ -223,6 +223,7 @@ EINCIDENT;
'component_id' => 0,
'visible' => 1,
'stickied' => false,
'user_id' => 1,
'occurred_at' => Carbon::now(),
],
[
@@ -232,6 +233,7 @@ EINCIDENT;
'component_id' => 0,
'visible' => 1,
'stickied' => false,
'user_id' => 1,
'occurred_at' => Carbon::now(),
],
];