Change in ovirt-engine[master]: core: Fix audit event type ids in database

mperina at redhat.com mperina at redhat.com
Tue May 31 07:58:41 UTC 2016


Martin Peřina has submitted this change and it was merged.

Change subject: core: Fix audit event type ids in database
......................................................................


core: Fix audit event type ids in database

Patch Ife969c6a094ba8acf4b7b1544be017d8a034485f fixed duplicate event
type ids in AuditLogType enum, but the patch didn't include update of
existing audit log records. Fortunately we store both event type name
and its id in audit_log table (although this creates data redundancy in
our db), so this patch adds missing database upgrade script.

Change-Id: I4f605530ad7f56d4a18f237cdcdacd6c3702f28a
Bug-Url: https://bugzilla.redhat.com/1331186
Signed-off-by: Martin Perina <mperina at redhat.com>
---
A packaging/dbscripts/upgrade/04_00_0730_fix_duplicate_audit_log_type_ids.sql
1 file changed, 172 insertions(+), 0 deletions(-)

Approvals:
  Martin Peřina: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests
  Oved Ourfali: Looks good to me, but someone else must approve



-- 
To view, visit https://gerrit.ovirt.org/56960
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I4f605530ad7f56d4a18f237cdcdacd6c3702f28a
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list