Seed the incident user
This commit is contained in:
@@ -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(),
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user