This goes first

This commit is contained in:
Lance Pioch 2024-06-15 05:34:56 -04:00
parent b47f40bd13
commit 1a26f5ce9e

View File

@ -36,12 +36,12 @@ return new class extends Migration
->update(['ports' => json_encode($ports)]); ->update(['ports' => json_encode($ports)]);
} }
Schema::dropIfExists('allocations');
Schema::table('servers', function (Blueprint $table) { Schema::table('servers', function (Blueprint $table) {
$table->dropColumn(['allocation_id']); $table->dropColumn(['allocation_id']);
}); });
Schema::dropIfExists('allocations');
Schema::table('nodes', function (Blueprint $table) { Schema::table('nodes', function (Blueprint $table) {
$table->boolean('strict_ports')->default(true); $table->boolean('strict_ports')->default(true);
}); });