Eli Mesika has uploaded a new change for review.

Change subject: core:Upgrade script missing field in vm_template
......................................................................

core:Upgrade script missing field in vm_template

There are 2 updates that have wrong numbering in 3.3.1 Beta :

1) 03_03_0650_add_signle_qxl_pci_column.sql => this change will not be
installed in the upgrade since the latest change was 0680
2) 03_03_0680_add_cpu_shares_to_vm.sql => this script will also be
skipped

The fix to that is to add the following scripts to 3.3.1.Beta which are
exact copies of 1) and 2) from above as :

03_03_0681_add_cpu_shares_to_vm.sql
03_03_0682_add_signle_qxl_pci_column.sql

Change-Id: I5e30b76c4ade4706e5340eb1d7da0275eb8afb43
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1005533
Signed-off-by: Eli Mesika <[email protected]>
---
A packaging/dbscripts/upgrade/03_03_0681_add_cpu_shares_to_vm.sql
A packaging/dbscripts/upgrade/03_03_0682_add_signle_qxl_pci_column.sql
2 files changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/48/20348/1

diff --git a/packaging/dbscripts/upgrade/03_03_0681_add_cpu_shares_to_vm.sql 
b/packaging/dbscripts/upgrade/03_03_0681_add_cpu_shares_to_vm.sql
new file mode 100644
index 0000000..f3b4965
--- /dev/null
+++ b/packaging/dbscripts/upgrade/03_03_0681_add_cpu_shares_to_vm.sql
@@ -0,0 +1 @@
+select fn_db_add_column('vm_static', 'cpu_shares', 'integer not null default 
0');
diff --git 
a/packaging/dbscripts/upgrade/03_03_0682_add_signle_qxl_pci_column.sql 
b/packaging/dbscripts/upgrade/03_03_0682_add_signle_qxl_pci_column.sql
new file mode 100644
index 0000000..d1ea769
--- /dev/null
+++ b/packaging/dbscripts/upgrade/03_03_0682_add_signle_qxl_pci_column.sql
@@ -0,0 +1 @@
+select fn_db_add_column('vm_static', 'single_qxl_pci', 'BOOLEAN NOT NULL 
DEFAULT FALSE');


-- 
To view, visit http://gerrit.ovirt.org/20348
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5e30b76c4ade4706e5340eb1d7da0275eb8afb43
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.3
Gerrit-Owner: Eli Mesika <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to