diff options
author | Instrumental <jonathan.gathman@att.com> | 2019-03-13 17:33:51 -0500 |
---|---|---|
committer | Instrumental <jonathan.gathman@att.com> | 2019-03-13 17:35:55 -0500 |
commit | 889a9891f6df5bbb26a760cfb106be947e87aa5c (patch) | |
tree | 3d9a9ffedc3782c6061de89c03527911bae3aa33 /auth/auth-cass/cass_init/init2_10.cql | |
parent | a50007dcded86acc2dcd610810f8afac720a058a (diff) |
Batch Test improvements
Issue-ID: AAF-776
Change-Id: Ia12106331a1db608955abd353785ab2e765b3c41
Signed-off-by: Instrumental <jonathan.gathman@att.com>
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) +); + |