field name consistency
This commit is contained in:
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user