CLOUDSTACK-7830: Usage Job fails with "Data too long for column 'user_name'"

This commit is contained in:
Damodar 2014-11-10 14:40:36 +05:30 committed by Kishan Kavala
parent cdabb2407a
commit 36fd780482

View File

@ -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);