id(); $table->string('name', 100); $table->string('slug', 100)->unique(); $table->text('description')->nullable(); $table->unsignedInteger('travel_cost')->default(0); $table->unsignedInteger('requires_level')->nullable()->default(null); $table->unsignedBigInteger('faction_control')->nullable(); $table->timestamps(); // Indexes $table->index('slug'); $table->index('requires_level'); $table->index('faction_control'); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('locations'); } };