Change in ovirt-engine[ovirt-engine-3.4.0]: core: adding missing default to a non-null column

sbonazzo at redhat.com sbonazzo at redhat.com
Fri Mar 7 12:48:13 UTC 2014


Sandro Bonazzola has submitted this change and it was merged.

Change subject: core: adding missing default to a non-null column
......................................................................


core: adding missing default to a non-null column

This patch fixes an issue in event_subscriber table that was added a
notification_method column which does not allow nulls.

If the table has any records before the upgrade, this will fail since
the existing records will have NULL for the new added column.

Change-Id: Id3c7ce30c32b9b38f08ff6c8c0eb8bfa02cf5066
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1072867
Signed-off-by: Eli Mesika <emesika at redhat.com>
---
M packaging/dbscripts/upgrade/03_04_0600_event_notification_methods.sql
1 file changed, 1 insertion(+), 3 deletions(-)

Approvals:
  Sandro Bonazzola: Looks good to me, approved
  Eli Mesika: Verified; Looks good to me, approved
  mooli tayer: Looks good to me, but someone else must approve



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Id3c7ce30c32b9b38f08ff6c8c0eb8bfa02cf5066
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.4.0
Gerrit-Owner: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: mooli tayer <mtayer at redhat.com>



More information about the Engine-commits mailing list