diff options
author | Sai Gandham <sai.gandham@att.com> | 2019-03-07 20:01:20 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-03-07 20:01:20 +0000 |
commit | a50007dcded86acc2dcd610810f8afac720a058a (patch) | |
tree | cc0fb58c1191da21ae6a05ce0414ec87a1b303e7 /auth/auth-cass/cass_init | |
parent | 74ca7155fe903094350ab68f3ec6ac3dfe4e32b8 (diff) | |
parent | a174f8ddbc5eb78a648fb68b33ef18cb64d81fda (diff) |
Merge "Improve Batches"
Diffstat (limited to 'auth/auth-cass/cass_init')
-rw-r--r-- | auth/auth-cass/cass_init/init.cql | 2 | ||||
-rw-r--r-- | auth/auth-cass/cass_init/init2_10.cql | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/auth/auth-cass/cass_init/init.cql b/auth/auth-cass/cass_init/init.cql index 04540799..75b02c53 100644 --- a/auth/auth-cass/cass_init/init.cql +++ b/auth/auth-cass/cass_init/init.cql @@ -168,6 +168,8 @@ CREATE TABLE future ( memo varchar, // Description start timestamp, // When it should take effect expires timestamp, // When not longer valid + target_key varchar, // Item Key (or 2nd key, assuming user is first) + target_date timestamp, // Item's relevant date/stamp construct blob, // How to construct this object (like History) PRIMARY KEY(id) ); diff --git a/auth/auth-cass/cass_init/init2_10.cql b/auth/auth-cass/cass_init/init2_10.cql index 839acf60..b7195076 100644 --- a/auth/auth-cass/cass_init/init2_10.cql +++ b/auth/auth-cass/cass_init/init2_10.cql @@ -1,2 +1,4 @@ use authz; alter TABLE cred ADD tag varchar; +alter TABLE future ADD target_key varchar; +alter TABLE future ADD target_date timestamp; |