You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
538 B
22 lines
538 B
<?php
|
|
|
|
/** @var \Illuminate\Database\Eloquent\Factory $factory */
|
|
|
|
use App\Task;
|
|
use Carbon\Carbon;
|
|
use Faker\Generator as Faker;
|
|
|
|
$factory->define(Task::class, function (Faker $faker) {
|
|
return [
|
|
'business_id' => null,
|
|
'creator_id' => null,
|
|
'project_id' => null,
|
|
'user_id' => null,
|
|
'workflow_id' => null,
|
|
'name' => $faker->sentences(3, true),
|
|
'time' => null,
|
|
'cost' => 0,
|
|
'completed' => false,
|
|
'due_date' => Carbon::now()->toDateTimeString(),
|
|
];
|
|
});
|