Revert "Fix Audit Trail event_details db size"

This reverts commit e5b04669c8

Change-Id: Ic5aec4848db35bb8a257742981615414b8777dcf
This commit is contained in:
Jeremy Houser 2020-02-18 16:19:10 +00:00
parent e5b04669c8
commit 1cbfa02d6a

View File

@ -11,7 +11,7 @@ create table if not exists transactions(
external_id varchar(64) binary null, external_id varchar(64) binary null,
transaction_id varchar(64) binary not null, transaction_id varchar(64) binary not null,
transaction_type 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, status varchar(64) binary null,
resource_id varchar(64) binary not null, resource_id varchar(64) binary not null,
service_name 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), key resource_id_index (resource_id),
unique(timestamp, user_id, application_id, tracking_id, external_id, transaction_id, unique(timestamp, user_id, application_id, tracking_id, external_id, transaction_id,
transaction_type, event_details, status, resource_id, service_name)); transaction_type, event_details, status, resource_id, service_name));
alter table transactions modify event_details varchar(512) binary;