Update DB seeding to Laravel 8

This commit is contained in:
Deon George 2021-06-30 11:06:20 +10:00
parent 6a4b0f6d79
commit 61396c9cda
No known key found for this signature in database
GPG Key ID: 7670E8DC27415254
7 changed files with 13 additions and 1 deletions

View File

@ -1,5 +1,7 @@
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use App\Models\{Country,Currency};

View File

@ -1,5 +1,7 @@
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use App\Models\Currency;

View File

@ -1,5 +1,7 @@
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder

View File

@ -1,5 +1,7 @@
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use App\Models\Language;

View File

@ -1,5 +1,7 @@
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use App\Models\Site;

View File

@ -1,5 +1,7 @@
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use App\Models\User;