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

piotr.kliczewski at gmail.com piotr.kliczewski at gmail.com
Tue May 31 08:07:03 UTC 2016


Piotr Kliczewski 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/03_06_2120_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/58307
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I4f605530ad7f56d4a18f237cdcdacd6c3702f28a
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.6
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: Piotr Kliczewski <piotr.kliczewski at gmail.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list