fix(ssl): add mount path to DB to fix regeneration of certs
This commit is contained in:
parent
f92c170db1
commit
35cd9573ab
2 changed files with 2 additions and 0 deletions
|
|
@ -165,6 +165,7 @@ function ($index, $san) {
|
|||
'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,
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ public function up()
|
|||
$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');
|
||||
|
|
|
|||
Loading…
Reference in a new issue