Skip to content

Commit 2d37b74

Browse files
marabesirohityadavcloud
authored andcommitted
db: alter cloud.sslcerts fingerprint column from varchar(62) to text (apache#3132)
As described in the issue apache#3123 the certificate endpoint throws an exception when a request is made to create the certificate. Fixes apache#3123
1 parent af9fefc commit 2d37b74

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

engine/schema/src/main/resources/META-INF/db/schema-41120to41200.sql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,6 @@ INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Storage', 'DEFAULT', 'Storag
4646
-- add KVM Guest OS mapping for Windows Server 2019
4747
INSERT IGNORE INTO `cloud`.`guest_os` (id, uuid, category_id, display_name, created) VALUES (276, UUID(), 6, 'Windows Server 2019 (64-bit)', now());
4848
INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` (uuid, hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, created, is_user_defined) VALUES (UUID(), 'KVM', 'default', 'Windows Server 2019', 276, now(), 0);
49+
50+
-- changed fingerprint type to TEXT, it avoids db exception when creating the certificate issue #3123
51+
ALTER TABLE `cloud`.`sslcerts` MODIFY `fingerprint` TEXT;

0 commit comments

Comments
 (0)