From c874261c5b6d1ef12063fa5bbd68eef2a3e45005 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 19 Sep 2024 13:16:08 +0200 Subject: [PATCH] feat: Add nullable constraint to 'fingerprint' column in private_keys table --- ...7_111226_add_ssh_key_fingerprint_to_private_keys_table.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/migrations/2024_09_17_111226_add_ssh_key_fingerprint_to_private_keys_table.php b/database/migrations/2024_09_17_111226_add_ssh_key_fingerprint_to_private_keys_table.php index 15f56c76b..f16eccb5c 100644 --- a/database/migrations/2024_09_17_111226_add_ssh_key_fingerprint_to_private_keys_table.php +++ b/database/migrations/2024_09_17_111226_add_ssh_key_fingerprint_to_private_keys_table.php @@ -1,16 +1,16 @@ string('fingerprint')->after('private_key')->unique(); + $table->string('fingerprint')->after('private_key')->nullable(); }); PrivateKey::whereNull('fingerprint')->each(function ($key) {