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

iheim at redhat.com iheim at redhat.com
Wed Mar 5 15:37:31 UTC 2014


Itamar Heim 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:
  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/25393
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
Gerrit-Owner: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Itamar Heim <iheim at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: mooli tayer <mtayer at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list