Sahina Bose has uploaded a new change for review. Change subject: engine: gluster brick network - delete action for constraint ......................................................................
engine: gluster brick network - delete action for constraint Added action for delete of network constraint of gluster_volume_bricks Change-Id: I30ad509154781f20dfa157add9ba1030cf527e36 Signed-off-by: Sahina Bose <[email protected]> --- A packaging/dbscripts/upgrade/03_06_1280_fix_constraint_gluster_brick_network.sql 1 file changed, 3 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/26/40126/1 diff --git a/packaging/dbscripts/upgrade/03_06_1280_fix_constraint_gluster_brick_network.sql b/packaging/dbscripts/upgrade/03_06_1280_fix_constraint_gluster_brick_network.sql new file mode 100644 index 0000000..47c41ea --- /dev/null +++ b/packaging/dbscripts/upgrade/03_06_1280_fix_constraint_gluster_brick_network.sql @@ -0,0 +1,3 @@ +SELECT fn_db_drop_constraint('gluster_volume_bricks', 'fk_gluster_volume_bricks_network_id'); +SELECT fn_db_create_constraint('gluster_volume_bricks', 'fk_gluster_volume_bricks_network_id', 'FOREIGN KEY (network_id) REFERENCES network(id) ON DELETE RESTRICT'); + -- To view, visit https://gerrit.ovirt.org/40126 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I30ad509154781f20dfa157add9ba1030cf527e36 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Sahina Bose <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
