Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
Update database seeder with newer resources
Browse files Browse the repository at this point in the history
  • Loading branch information
kkamara committed Oct 16, 2024
1 parent cd232d8 commit 6bdc075
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions database/seeders/DatabaseSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
namespace Database\Seeders;

use App\Models\V1\Book;
use App\Models\V1\BookCategory;
use App\Models\V1\Category;
use App\Models\V1\Review;
use App\Models\V1\User;
// use Illuminate\Database\Console\Seeds\WithoutModelEvents;
Expand All @@ -24,5 +26,7 @@ public function run(): void
]);
Book::factory()->count(30)->create();
Review::factory()->count(1000)->create();
Category::factory()->count(30)->create();
BookCategory::factory()->count(100)->create();
}
}

0 comments on commit 6bdc075

Please sign in to comment.