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(a)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/58308
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.7
Gerrit-Owner: Martin Peřina <mperina(a)redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Peřina <mperina(a)redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali(a)redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski(a)gmail.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>