Martin Betak has uploaded a new change for review.

Change subject: backend: Extend vm_device.device column
......................................................................

backend: Extend vm_device.device column

Increase size of the 'device' column because it is used to store
host_device.device_name values which can be up to 255 characters
long.

Change-Id: I7c02d5c2e84fdc7c843cc6e3ce983d7308c60d61
Signed-off-by: Martin Betak <mbe...@redhat.com>
---
A 
packaging/dbscripts/upgrade/pre_upgrade/0050_change_vm_device_column_length.sql
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/89/40489/1

diff --git 
a/packaging/dbscripts/upgrade/pre_upgrade/0050_change_vm_device_column_length.sql
 
b/packaging/dbscripts/upgrade/pre_upgrade/0050_change_vm_device_column_length.sql
new file mode 100644
index 0000000..e4ed21e
--- /dev/null
+++ 
b/packaging/dbscripts/upgrade/pre_upgrade/0050_change_vm_device_column_length.sql
@@ -0,0 +1 @@
+ALTER TABLE vm_device ALTER COLUMN device TYPE VARCHAR(255);


-- 
To view, visit https://gerrit.ovirt.org/40489
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7c02d5c2e84fdc7c843cc6e3ce983d7308c60d61
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Martin Betak <mbe...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to