aboutsummaryrefslogtreecommitdiffstats
path: root/packages/policy-xacmlpdp-tarball/src/main/resources/mysql/sql/createguardtable.sql
diff options
context:
space:
mode:
Diffstat (limited to 'packages/policy-xacmlpdp-tarball/src/main/resources/mysql/sql/createguardtable.sql')
-rw-r--r--packages/policy-xacmlpdp-tarball/src/main/resources/mysql/sql/createguardtable.sql6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/policy-xacmlpdp-tarball/src/main/resources/mysql/sql/createguardtable.sql b/packages/policy-xacmlpdp-tarball/src/main/resources/mysql/sql/createguardtable.sql
index f2d01fbf..aea02f70 100644
--- a/packages/policy-xacmlpdp-tarball/src/main/resources/mysql/sql/createguardtable.sql
+++ b/packages/policy-xacmlpdp-tarball/src/main/resources/mysql/sql/createguardtable.sql
@@ -1,5 +1,5 @@
-- ============LICENSE_START=======================================================
--- Copyright (C) 2019-2020 AT&T Intellectual Property. All rights reserved.
+-- Copyright (C) 2019-2021 AT&T Intellectual Property. All rights reserved.
-- ================================================================================
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
@@ -32,7 +32,7 @@ create table if not exists operationshistory (
);
create index if not exists operationshistory_clreqid_index on
- operationshistory(closedLoopName, requestId);
+ operationshistory(requestId, closedLoopName);
create index if not exists operationshistory_target_index on
- operationshistory(target, operation, actor);
+ operationshistory(target, operation, actor, endtime);