%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/forge/api-takeaseat.eco-n-tech.co.uk/database/seeders/
Upload File :
Create Path :
Current File : //home/forge/api-takeaseat.eco-n-tech.co.uk/database/seeders/DatabaseSeeder.php

<?php

namespace Database\Seeders;

use App\Models\Product;
use App\Models\Post;
use App\Models\Booking;
use App\Models\Client;
use Illuminate\Database\Seeder;

class DatabaseSeeder extends Seeder
{
    /**
     * Seed the application's database.
     *
     * @return void
     */
    public function run()
    {
        $this->call(RolesAndPermissionsSeeder::class);
        $this->call(SpecialismSeeder::class);
        $this->call(SessionSeeder::class);
        $this->call(LanguageSeeder::class);
        $this->call(TagSeeder::class);
        
        if(config('app.env') == 'local') {
            $this->call(TherapistSeeder::class);
            Client::factory(400)->create();
            Product::factory(400)->create();
            Booking::factory(1000)->create();
            Post::factory(100)->create();
        }
    }
}

Zerion Mini Shell 1.0