fix(ssl): add mount path to DB to fix regeneration of certs

This commit is contained in:
peaklabs-dev
2025-02-07 18:11:26 +01:00
parent f92c170db1
commit 35cd9573ab
2 changed files with 2 additions and 0 deletions

View File

@@ -165,6 +165,7 @@ class SslHelper
'resource_id' => $resourceId,
'server_id' => $serverId,
'configuration_dir' => $configurationDir,
'mount_path' => $mountPath,
'valid_until' => CarbonImmutable::now()->addDays($validityDays),
'is_ca_certificate' => $isCaCertificate,
'common_name' => $commonName,

View File

@@ -13,6 +13,7 @@ return new class extends Migration
$table->text('ssl_certificate');
$table->text('ssl_private_key');
$table->text('configuration_dir')->nullable();
$table->text('mount_path')->nullable();
$table->string('resource_type')->nullable();
$table->unsignedBigInteger('resource_id')->nullable();
$table->unsignedBigInteger('server_id');