Skip to content

Commit 5281dc8

Browse files
authored
Update model_has_certificates_table migration
Make private_key_path and public_key_path nullable.
1 parent 71eed7e commit 5281dc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

database/migrations/2025_11_07_000002_create_model_has_certificates_table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ public function up(): void
1111
Schema::create('model_has_certificates', function (Blueprint $table) {
1212
$table->id();
1313
$table->unsignedBigInteger('user_id')->index();
14-
$table->string('private_key_path'); // example: storage/app/certificates/private.pem
15-
$table->string('public_key_path'); // example: storage/app/certificates/public.pem
14+
$table->string('private_key_path')->nullable(); // example: app/certificates/private.pem
15+
$table->string('public_key_path')->nullable(); // example: app/certificates/public.pem
1616
$table->integer('status')->max(2)->default(1);
1717
$table->timestamps();
1818

0 commit comments

Comments
 (0)