From 7d39a5089c18539ab1e7286341b692b9bbaba474 Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Mon, 16 Sep 2024 11:53:26 +0200 Subject: [PATCH] Feat: Add SSH Key fingerprint to DB --- ..._key_fingerprint_to_private_keys_table.php | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 database/migrations/2024_09_16_094127_add_ssh_key_fingerprint_to_private_keys_table.php diff --git a/database/migrations/2024_09_16_094127_add_ssh_key_fingerprint_to_private_keys_table.php b/database/migrations/2024_09_16_094127_add_ssh_key_fingerprint_to_private_keys_table.php new file mode 100644 index 000000000..f64bb32c9 --- /dev/null +++ b/database/migrations/2024_09_16_094127_add_ssh_key_fingerprint_to_private_keys_table.php @@ -0,0 +1,22 @@ +string('fingerprint')->nullable()->unique()->after('private_key'); + }); + } + + public function down() + { + Schema::table('private_keys', function (Blueprint $table) { + $table->dropColumn('fingerprint'); + }); + } +}