Fix Audit Trail event_details db size
Current application of audit trail does not allow for filenames of excess size. This patchset doubles the allowed space to allow for files with names of excess length. Change-Id: I4d064c67ecd0e77f6e280452eb8afd386445bb6c
This commit is contained in:
parent
8b47a47994
commit
e5b04669c8
@ -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(255) binary null,
|
||||
event_details varchar(512) binary null,
|
||||
status varchar(64) binary null,
|
||||
resource_id varchar(64) binary not null,
|
||||
service_name varchar(64) binary not null,
|
||||
@ -21,3 +21,5 @@ 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;
|
Loading…
Reference in New Issue
Block a user