From 8d2abf22e9f963cfbcac5e394d9c7ea440ba5cdd Mon Sep 17 00:00:00 2001 From: Michael Della Bitta Date: Fri, 23 May 2025 10:18:22 -0400 Subject: [PATCH 1/3] Adds email for testing api key --- db-scripts/01-api-key.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db-scripts/01-api-key.sql b/db-scripts/01-api-key.sql index f7fc5c3..9e9653b 100644 --- a/db-scripts/01-api-key.sql +++ b/db-scripts/01-api-key.sql @@ -2,7 +2,7 @@ insert into account (key, email, enabled, staff) -values ('ool1Phovah1wie7juapheGoo9aNg1quu', - 'foo@bar.com', +values ('ool1Phovah1wie7juapheGoo9aNg1quu','' || + '' true, true); \ No newline at end of file From 5d794a9e71f8a79463e4cad2186332fd1b707a97 Mon Sep 17 00:00:00 2001 From: Michael Della Bitta Date: Fri, 23 May 2025 10:18:44 -0400 Subject: [PATCH 2/3] changes ipfs field to filecoin --- es-scripts/init-indices.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es-scripts/init-indices.sh b/es-scripts/init-indices.sh index ffc8c77..1586368 100755 --- a/es-scripts/init-indices.sh +++ b/es-scripts/init-indices.sh @@ -157,7 +157,7 @@ curl -s -X PUT "http://elasticsearch:9200/dpla_alias?include_type_name=true" -H } } }, - "ipfs" : { + "filecoin" : { "type" : "keyword" }, "isPartOf" : { From bb0aa13b38e39d8cf400b4f2ac0bf72c8881cccb Mon Sep 17 00:00:00 2001 From: Michael Della Bitta Date: Fri, 23 May 2025 10:30:57 -0400 Subject: [PATCH 3/3] fix email --- db-scripts/01-api-key.sql | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/db-scripts/01-api-key.sql b/db-scripts/01-api-key.sql index 9e9653b..60bc931 100644 --- a/db-scripts/01-api-key.sql +++ b/db-scripts/01-api-key.sql @@ -2,7 +2,4 @@ insert into account (key, email, enabled, staff) -values ('ool1Phovah1wie7juapheGoo9aNg1quu','' || - '' - true, - true); \ No newline at end of file +values ('ool1Phovah1wie7juapheGoo9aNg1quu', 'foo@example.com', true, true); \ No newline at end of file