|
@@ -20,7 +20,7 @@ $factory->define(Location::class, function (Faker $faker) {
|
|
|
return [
|
|
|
'lat' => array_random($latArray),
|
|
|
'lng' => array_random($lngArray),
|
|
|
- 'created_at' => Carbon::now()->subDays(rand(1, 10)),
|
|
|
+ 'created_at' => Carbon::now()->subDays(rand(1, 10))->subHours(rand(8, -8)),
|
|
|
'user_id' => null,//
|
|
|
];
|
|
|
});
|