summaryrefslogtreecommitdiffstats
path: root/auth/auth-cass/cass_init/init.cql
diff options
context:
space:
mode:
authorSai Gandham <sai.gandham@att.com>2019-03-13 23:40:45 +0000
committerGerrit Code Review <gerrit@onap.org>2019-03-13 23:40:45 +0000
commitda6154df2951bbdedea753f588d41153e3582ef5 (patch)
treec1775704aef15ca129bdd9b36a35ca696a38adf3 /auth/auth-cass/cass_init/init.cql
parentcf3cdabcaeb2a4854618ff31fdf24e6793277c9a (diff)
parent889a9891f6df5bbb26a760cfb106be947e87aa5c (diff)
Merge "Batch Test improvements"
Diffstat (limited to 'auth/auth-cass/cass_init/init.cql')
-rw-r--r--auth/auth-cass/cass_init/init.cql9
1 files changed, 5 insertions, 4 deletions
diff --git a/auth/auth-cass/cass_init/init.cql b/auth/auth-cass/cass_init/init.cql
index 75b02c53..f280de00 100644
--- a/auth/auth-cass/cass_init/init.cql
+++ b/auth/auth-cass/cass_init/init.cql
@@ -90,12 +90,12 @@ CREATE TABLE cert (
CREATE INDEX cert_id ON cert(id);
CREATE INDEX cert_x500 ON cert(x500);
-CREATE TABLE notify (
+CREATE TABLE notified (
user text,
- type int,
+ target text,
+ key text,
last timestamp,
- checksum int,
- PRIMARY KEY (user,type)
+ PRIMARY KEY (user,target,key)
);
CREATE TABLE x509 (
@@ -175,6 +175,7 @@ CREATE TABLE future (
);
CREATE INDEX future_idx ON future(target);
CREATE INDEX future_start_idx ON future(start);
+CREATE INDEX future_target_key ON authz.future (target_key);
CREATE TABLE approval (