mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
Use recent date range for factory
This commit is contained in:
parent
21b1ecb6b3
commit
e2c6f36c70
|
@ -22,7 +22,7 @@ $factory->define(Asset::class, function (Faker\Generator $faker) {
|
|||
'user_id' => 1,
|
||||
'asset_tag' => $faker->unixTime('now'),
|
||||
'notes' => 'Created by DB seeder',
|
||||
'purchase_date' => $faker->dateTime(),
|
||||
'purchase_date' => $faker->dateTimeBetween('-1 years','now', date_default_timezone_get()),
|
||||
'purchase_cost' => $faker->randomFloat(2, '299.99', '2999.99'),
|
||||
'order_number' => $faker->numberBetween(1000000, 50000000),
|
||||
'supplier_id' => 1,
|
||||
|
|
Loading…
Reference in a new issue