From 2ac9147532c7cfd3435905415dcc598e83b93b08 Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Thu, 30 Jan 2025 14:16:52 +0100 Subject: [PATCH] chore(migration): remove unused columns --- app/Models/SslCertificate.php | 5 ----- .../2025_01_27_153741_create_ssl_certificates_table.php | 1 - 2 files changed, 6 deletions(-) diff --git a/app/Models/SslCertificate.php b/app/Models/SslCertificate.php index 5a1767ab5..f414e5eca 100644 --- a/app/Models/SslCertificate.php +++ b/app/Models/SslCertificate.php @@ -9,13 +9,8 @@ class SslCertificate extends Model protected $fillable = [ 'ssl_certificate', 'ssl_private_key', - 'cert_file_path', - 'key_file_path', 'resource_type', 'resource_id', - 'mount_path', - 'host_path', - 'certificate_type', 'valid_until', ]; diff --git a/database/migrations/2025_01_27_153741_create_ssl_certificates_table.php b/database/migrations/2025_01_27_153741_create_ssl_certificates_table.php index f10306ed7..1d5c6aa1a 100644 --- a/database/migrations/2025_01_27_153741_create_ssl_certificates_table.php +++ b/database/migrations/2025_01_27_153741_create_ssl_certificates_table.php @@ -14,7 +14,6 @@ return new class extends Migration $table->text('ssl_private_key')->nullable(); $table->string('resource_type')->nullable(); $table->unsignedBigInteger('resource_id')->nullable(); - $table->enum('certificate_type', ['internal', 'external'])->default('internal'); $table->timestamp('valid_until')->nullable(); $table->timestamps();