Skip to content

Commit

Permalink
fix: Fix by reduce string size in seeder
Browse files Browse the repository at this point in the history
  • Loading branch information
rakieta2015 committed May 11, 2020
1 parent 8037f1d commit 5c9759c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions database/seeds/ExampleSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ public function run()
}
for($i=0; $i<25; $i++){
DB::table('example')->insert([
'name' => $faker->sentence(4,true),
'description' => $faker->paragraph(3,true),
'name' => $faker->sentence(4,true),
'description' => $faker->paragraph(1,true),
'status_id' => $statusIds[random_int(0,count($statusIds) - 1)],
]);
}
Expand Down

0 comments on commit 5c9759c

Please sign in to comment.