fix(migration): store subjectAlternativeNames as a json array in the db

This commit is contained in:
peaklabs-dev
2025-02-03 22:35:00 +01:00
parent f871c1067b
commit fba95c3729
3 changed files with 3 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ return new class extends Migration
$table->unsignedBigInteger('resource_id')->nullable();
$table->unsignedBigInteger('server_id');
$table->text('common_name');
$table->text('subject_alternative_names')->nullable();
$table->json('subject_alternative_names')->nullable();
$table->timestamp('valid_until');
$table->boolean('is_ca_certificate')->default(false);
$table->timestamps();