Skip to content

Commit 36fd780

Browse files
Damodarkishankavala
authored andcommitted
CLOUDSTACK-7830: Usage Job fails with "Data too long for column 'user_name'"
1 parent cdabb24 commit 36fd780

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

setup/db/db/schema-441to450.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -754,3 +754,5 @@ DELETE t1 FROM guest_os_hypervisor t1, guest_os_hypervisor t2 WHERE (t1.hypervis
754754

755755
-- Set as removed built-in CentOS 5.3 template (if any) for XenServer, since CentOS 5.6 template already exists
756756
UPDATE `cloud`.`vm_template` SET removed=NOW() WHERE unique_name="centos53-x86_64" AND hypervisor_type="XenServer";
757+
758+
ALTER TABLE `cloud_usage`.`usage_vpn_user` CHANGE `user_name` `user_name` VARCHAR(255);

0 commit comments

Comments
 (0)