3 use Illuminate\Database\Migrations\Migration;
4 use Illuminate\Database\Schema\Blueprint;
5 use Illuminate\Support\Facades\Schema;
7 return new class extends Migration
16 Schema::create('alttp_seeds', function (Blueprint $table) {
18 $table->binary('hash');
19 $table->string('generator');
20 $table->string('preset');
21 $table->boolean('race')->default(false);
22 $table->boolean('mystery')->default(false);
23 $table->string('seed');
24 $table->text('settings');
25 $table->string('status')->default('pending');
26 $table->text('error_detail')->nullable()->default(null);
28 $table->unique('hash');
33 * Reverse the migrations.
37 public function down()
39 Schema::dropIfExists('alttp_seeds');