From eaf235de17c09aa522ffc2d82e56fc7bb88b6ba5 Mon Sep 17 00:00:00 2001 From: marabesi Date: Tue, 15 Jan 2019 20:02:05 +0100 Subject: [PATCH] changed column fingerprint from varchar(62) to text --- .../src/main/resources/META-INF/db/schema-41120to41200.sql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/engine/schema/src/main/resources/META-INF/db/schema-41120to41200.sql b/engine/schema/src/main/resources/META-INF/db/schema-41120to41200.sql index 78c512b9007f..fb588e8115c1 100644 --- a/engine/schema/src/main/resources/META-INF/db/schema-41120to41200.sql +++ b/engine/schema/src/main/resources/META-INF/db/schema-41120to41200.sql @@ -46,3 +46,6 @@ INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Storage', 'DEFAULT', 'Storag -- add KVM Guest OS mapping for Windows Server 2019 INSERT IGNORE INTO `cloud`.`guest_os` (id, uuid, category_id, display_name, created) VALUES (276, UUID(), 6, 'Windows Server 2019 (64-bit)', now()); 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); + +-- changed fingerprint type to TEXT, it avoids db exception when creating the certificate issue #3123 +ALTER TABLE `cloud`.`sslcerts` MODIFY `fingerprint` TEXT; \ No newline at end of file