<?php

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

return new class extends Migration
{
    public function up(): void
    {
        DB::unprepared(file_get_contents(database_path('schema.sql')));
    }

    public function down(): void
    {
        // Early development uses database/schema.sql as the canonical replaceable schema.
        // Use a fresh database or import a previous schema snapshot to roll back.
    }
};
