diff options
author | Sai Gandham <sai.gandham@att.com> | 2019-03-13 23:40:45 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-03-13 23:40:45 +0000 |
commit | da6154df2951bbdedea753f588d41153e3582ef5 (patch) | |
tree | c1775704aef15ca129bdd9b36a35ca696a38adf3 /auth/auth-cass/cass_init/init2_10.cql | |
parent | cf3cdabcaeb2a4854618ff31fdf24e6793277c9a (diff) | |
parent | 889a9891f6df5bbb26a760cfb106be947e87aa5c (diff) |
Merge "Batch Test improvements"
Diffstat (limited to 'auth/auth-cass/cass_init/init2_10.cql')
-rw-r--r-- | auth/auth-cass/cass_init/init2_10.cql | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/auth/auth-cass/cass_init/init2_10.cql b/auth/auth-cass/cass_init/init2_10.cql index b7195076..21bd4b63 100644 --- a/auth/auth-cass/cass_init/init2_10.cql +++ b/auth/auth-cass/cass_init/init2_10.cql @@ -2,3 +2,13 @@ use authz; alter TABLE cred ADD tag varchar; alter TABLE future ADD target_key varchar; alter TABLE future ADD target_date timestamp; +CREATE INDEX future_target_key ON authz.future (target_key); + +CREATE TABLE notified ( + user text, + target text, + key text, + last timestamp, + PRIMARY KEY (user,target,key) +); + |