chore(migration): remove unused columns
This commit is contained in:
@@ -9,13 +9,8 @@ class SslCertificate extends Model
|
|||||||
protected $fillable = [
|
protected $fillable = [
|
||||||
'ssl_certificate',
|
'ssl_certificate',
|
||||||
'ssl_private_key',
|
'ssl_private_key',
|
||||||
'cert_file_path',
|
|
||||||
'key_file_path',
|
|
||||||
'resource_type',
|
'resource_type',
|
||||||
'resource_id',
|
'resource_id',
|
||||||
'mount_path',
|
|
||||||
'host_path',
|
|
||||||
'certificate_type',
|
|
||||||
'valid_until',
|
'valid_until',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ return new class extends Migration
|
|||||||
$table->text('ssl_private_key')->nullable();
|
$table->text('ssl_private_key')->nullable();
|
||||||
$table->string('resource_type')->nullable();
|
$table->string('resource_type')->nullable();
|
||||||
$table->unsignedBigInteger('resource_id')->nullable();
|
$table->unsignedBigInteger('resource_id')->nullable();
|
||||||
$table->enum('certificate_type', ['internal', 'external'])->default('internal');
|
|
||||||
$table->timestamp('valid_until')->nullable();
|
$table->timestamp('valid_until')->nullable();
|
||||||
$table->timestamps();
|
$table->timestamps();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user