From f28964148a6c77ba368e858625c2455490b681a0 Mon Sep 17 00:00:00 2001 From: Brandon Williams Date: Tue, 19 Apr 2022 10:33:07 -0500 Subject: [PATCH] Fix `add_ecdsa_ssh_key_types` migration --- services/api-db/docker-entrypoint-initdb.d/01-migrations.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/api-db/docker-entrypoint-initdb.d/01-migrations.sql b/services/api-db/docker-entrypoint-initdb.d/01-migrations.sql index 5d38457a6d..38df747f68 100644 --- a/services/api-db/docker-entrypoint-initdb.d/01-migrations.sql +++ b/services/api-db/docker-entrypoint-initdb.d/01-migrations.sql @@ -1623,7 +1623,7 @@ CREATE OR REPLACE PROCEDURE AND column_name = 'key_type'; IF ( - column_type_argument_type = "enum('ssh-rsa', 'ssh-ed25519')" + column_type_argument_type = "enum('ssh-rsa','ssh-ed25519')" ) THEN ALTER TABLE ssh_key MODIFY type ENUM('ssh-rsa', 'ssh-ed25519','ecdsa-sha2-nistp256','ecdsa-sha2-nistp384','ecdsa-sha2-nistp521');