From 2b46f76d9a688acf326424659ec9672a2614fdcf Mon Sep 17 00:00:00 2001 From: Instrumental Date: Wed, 20 Feb 2019 11:14:41 -0600 Subject: fix new openssl, data, etc Issue-ID: AAF-667 Change-Id: Ic87c5159c453c293d845abea6be0c4cfb3164fc1 Signed-off-by: Instrumental --- auth/auth-cass/cass_init/init.cql | 1 + auth/auth-cass/cass_init/init2_10.cql | 1 - auth/auth-cass/cass_init/prep.sh | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) (limited to 'auth/auth-cass/cass_init') 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 -- cgit 1.2.3-korg