mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
db:seed cleanup
This commit is contained in:
1 parent
33499107b7
commit
dfac41f30a
9 files changed
+75
-18
No files matched your search
@@ -19,12 +19,10 @@ class SubTaskFactory extends Factory
|
||||
*/
|
||||
public function definition()
|
||||
{
|
||||
// $user = User::factory()->create();
|
||||
// $mastertask = MasterTask::factory()->hasAttachments(random_int(0 , 3))->create();
|
||||
$client = \App\Models\Client::all()->random();
|
||||
|
||||
return [
|
||||
'user_id' => 1,
|
||||
// 'master_task_id' => $mastertask->id,
|
||||
'user_id' => $client->id,
|
||||
'estimated_time' => fake()->numberBetween(1,16),
|
||||
'tracked_time' => fake()->numberBetween(4,20),
|
||||
'is_finished' => 0,
|
||||
|
||||
Reference in new issue
Block a user