Skip to content

A self-hosted media server and file management system

441 B
Raw Blame
<?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' => 'ServerConfigSeeder',
            '--force' => true,
        ]);
    }

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