From 36fd780482dbd65ef9328f630d0af0793d0fed2e Mon Sep 17 00:00:00 2001 From: Damodar Date: Mon, 10 Nov 2014 14:40:36 +0530 Subject: [PATCH] CLOUDSTACK-7830: Usage Job fails with "Data too long for column 'user_name'" --- setup/db/db/schema-441to450.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup/db/db/schema-441to450.sql b/setup/db/db/schema-441to450.sql index 1d2bbb6af9a..0aa95e89ac5 100644 --- a/setup/db/db/schema-441to450.sql +++ b/setup/db/db/schema-441to450.sql @@ -754,3 +754,5 @@ DELETE t1 FROM guest_os_hypervisor t1, guest_os_hypervisor t2 WHERE (t1.hypervis -- Set as removed built-in CentOS 5.3 template (if any) for XenServer, since CentOS 5.6 template already exists UPDATE `cloud`.`vm_template` SET removed=NOW() WHERE unique_name="centos53-x86_64" AND hypervisor_type="XenServer"; + +ALTER TABLE `cloud_usage`.`usage_vpn_user` CHANGE `user_name` `user_name` VARCHAR(255);