Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

chore(migration): remove unused columns

peaklabs-dev2ac9147532c7
diff --git a/app/Models/SslCertificate.php b/app/Models/SslCertificate.php
index 5a1767ab56..f414e5ecaf 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 f10306ed74..1d5c6aa1a3 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();