Merge "Revert "Fix Audit Trail event_details db size""

This commit is contained in:
Zuul 2020-02-18 16:45:45 +00:00 committed by Gerrit Code Review
commit c7c6cd725a
1 changed files with 1 additions and 3 deletions

View File

@ -11,7 +11,7 @@ create table if not exists transactions(
external_id varchar(64) binary null,
transaction_id varchar(64) binary not null,
transaction_type varchar(64) binary not null,
event_details varchar(512) binary null,
event_details varchar(255) binary null,
status varchar(64) binary null,
resource_id varchar(64) binary not null,
service_name varchar(64) binary not null,
@ -21,5 +21,3 @@ create table if not exists transactions(
key resource_id_index (resource_id),
unique(timestamp, user_id, application_id, tracking_id, external_id, transaction_id,
transaction_type, event_details, status, resource_id, service_name));
alter table transactions modify event_details varchar(512) binary;