From 40aac1bf894d3be994dce4d6d93d57eb2009664d Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 7 Apr 2016 17:15:41 -0700 Subject: [PATCH] Fixed seeds --- database/factories/ModelFactory.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/factories/ModelFactory.php b/database/factories/ModelFactory.php index ec4c2e088d..99afc1a899 100644 --- a/database/factories/ModelFactory.php +++ b/database/factories/ModelFactory.php @@ -92,8 +92,8 @@ $factory->defineAs(App\Models\Manufacturer::class, 'manufacturer', function (Fak $factory->defineAs(App\Models\Component::class, 'component', function (Faker\Generator $faker) { return [ 'name' => $faker->text(20), - 'category_id' => $faker->numberBetween(16,20), - 'total_qty' => $faker->numberBetween(5, 10), + 'category_id' => $faker->numberBetween(21,25), + 'total_qty' => $faker->numberBetween(3, 10), 'min_amt' => $faker->numberBetween($min = 1, $max = 2), ]; });