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'); + }); + } +}