field name consistency

This commit is contained in:
2025-04-07 16:28:27 +01:00
parent 1e7d023b09
commit 32d30e00aa
7 changed files with 14 additions and 8 deletions

View File

@@ -17,7 +17,7 @@ return new class extends Migration
$table->foreignIdFor(Network::class, 'external_network_id');
$table->foreignIdFor(Network::class, 'internal_network_id');
$table->foreignIdFor(Provider::class);
$table->string('provider_external_id')->nullable();
$table->string('external_id')->nullable();
$table->string('name');
$table->string('ipv4');
$table->string('ipv6');

View File

@@ -12,7 +12,7 @@ return new class extends Migration
{
Schema::create('firewall_rules', function (Blueprint $table) {
$table->id();
$table->string('status')->default(FirewallRuleStatus::NOT_APPLIED->value);
$table->string('status')->default(FirewallRuleStatus::NOT_INSTALLED->value);
$table->foreignIdfor(Server::class);
$table->string('type');
$table->string('ports');

View File

@@ -14,7 +14,7 @@ return new class extends Migration
$table->id();
$table->foreignIdFor(Organisation::class);
$table->foreignIdFor(Provider::class);
$table->string('provider_external_id')->nullable();
$table->string('external_id')->nullable();
$table->string('type');
$table->string('name');
$table->string('ip_range');