diff options
Diffstat (limited to 'auth/auth-cass/cass_init')
-rw-r--r-- | auth/auth-cass/cass_init/init.cql | 1 | ||||
-rw-r--r-- | auth/auth-cass/cass_init/init2_10.cql | 1 | ||||
-rw-r--r-- | auth/auth-cass/cass_init/prep.sh | 2 |
3 files changed, 2 insertions, 2 deletions
diff --git a/auth/auth-cass/cass_init/init.cql b/auth/auth-cass/cass_init/init.cql index bf75998d..04540799 100644 --- a/auth/auth-cass/cass_init/init.cql +++ b/auth/auth-cass/cass_init/init.cql @@ -73,6 +73,7 @@ CREATE TABLE cred ( notes varchar, cred blob, prev blob, + tag varchar, PRIMARY KEY (id,type,expires) ); CREATE INDEX cred_ns ON cred(ns); diff --git a/auth/auth-cass/cass_init/init2_10.cql b/auth/auth-cass/cass_init/init2_10.cql index 8536c03e..839acf60 100644 --- a/auth/auth-cass/cass_init/init2_10.cql +++ b/auth/auth-cass/cass_init/init2_10.cql @@ -1,3 +1,2 @@ use authz; alter TABLE cred ADD tag varchar; -alter TABLE cred ADD attn int; diff --git a/auth/auth-cass/cass_init/prep.sh b/auth/auth-cass/cass_init/prep.sh index 03031a48..3254c0ee 100644 --- a/auth/auth-cass/cass_init/prep.sh +++ b/auth/auth-cass/cass_init/prep.sh @@ -28,7 +28,7 @@ mv user_role.dat $TEMP cat $TEMP | awk -F '|' '{print $1"|"$2"|"ENVIRON["DATE"]"|"$4"|"$5}' > user_role.dat mv cred.dat $TEMP -cat $TEMP | awk -F '|' '{print $1"|"$2"|"ENVIRON["DATE"]"|"$4"|"$5"|"$6"|"$7"|"$8}' > cred.dat +cat $TEMP | awk -F '|' '{print $1"|"$2"|"ENVIRON["DATE"]"|"$4"|"$5"|"$6"|"$7"|"$8"|"$9}' > cred.dat rm $TEMP |