summaryrefslogtreecommitdiffstats
path: root/auth/auth-cass/cass_init/init2_10.cql
blob: 21bd4b631524619210fd0590104f43acc9669c8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)
);