diff --git a/orm/services/audit_trail_manager/scripts/db_scripts/create_db.sql b/orm/services/audit_trail_manager/scripts/db_scripts/create_db.sql index 5644a609..6d17c959 100644 --- a/orm/services/audit_trail_manager/scripts/db_scripts/create_db.sql +++ b/orm/services/audit_trail_manager/scripts/db_scripts/create_db.sql @@ -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; \ No newline at end of file