Current File : /home/getxxhzo/app.genicards.com/database/migrations/2022_09_02_112922_run_default_seeder.php
<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Facades\Artisan;

return new class extends Migration
{
    /**
     * Run the migrations.
     */
    public function up(): void
    {
        Artisan::call('db:seed', ['--class' => 'SubTextSeeder', '--force' => true]);
        Artisan::call('db:seed', ['--class' => 'DefaultCountryCode', '--force' => true]);
        Artisan::call('db:seed', ['--class' => 'DefaultCurrencySeeder', '--force' => true]);
    }

    /**
     * Reverse the migrations.
     */
    public function down(): void
    {
        //
    }
};