Lior Vernia has uploaded a new change for review.

Change subject: core: Allow anonymous QoS in DB
......................................................................

core: Allow anonymous QoS in DB

Relaxed the NOT NULL constraints on the name and storage_pool_id
columns in the network_qos table, to allow for anonymous QoS entities
to be persisted.

Change-Id: Idc1041fcd790ff1f32b87bf68e8948cb16bcf623
Signed-off-by: Lior Vernia <[email protected]>
---
A packaging/dbscripts/upgrade/03_04_0300_relax_network_qos_constraints.sql
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/01/22601/1

diff --git 
a/packaging/dbscripts/upgrade/03_04_0300_relax_network_qos_constraints.sql 
b/packaging/dbscripts/upgrade/03_04_0300_relax_network_qos_constraints.sql
new file mode 100644
index 0000000..8dce607
--- /dev/null
+++ b/packaging/dbscripts/upgrade/03_04_0300_relax_network_qos_constraints.sql
@@ -0,0 +1,3 @@
+ALTER TABLE network_qos
+      ALTER COLUMN name DROP NOT NULL,
+      ALTER COLUMN storage_pool_id DROP NOT NULL;


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

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

Reply via email to