From 70186f9dc122926dff5554fbaf150481fadd7429 Mon Sep 17 00:00:00 2001 From: FabioPinheiro Date: Thu, 2 Mar 2023 14:47:34 +0000 Subject: [PATCH] fix(pollux): Fix column meta_next_retry --- .../JdbcPresentationRepository.scala | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/pollux/lib/sql-doobie/src/main/scala/io/iohk/atala/pollux/sql/repository/JdbcPresentationRepository.scala b/pollux/lib/sql-doobie/src/main/scala/io/iohk/atala/pollux/sql/repository/JdbcPresentationRepository.scala index 620da3cc4b..1fa0193b70 100644 --- a/pollux/lib/sql-doobie/src/main/scala/io/iohk/atala/pollux/sql/repository/JdbcPresentationRepository.scala +++ b/pollux/lib/sql-doobie/src/main/scala/io/iohk/atala/pollux/sql/repository/JdbcPresentationRepository.scala @@ -107,8 +107,8 @@ class JdbcPresentationRepository( | request_presentation_data, | credentials_to_use, | meta_retries, - | next_retry, - | last_failure + | meta_next_retry, + | meta_last_failure | ) values ( | ${record.id}, | ${record.createdAt}, @@ -148,8 +148,8 @@ class JdbcPresentationRepository( | presentation_data, | credentials_to_use, | meta_retries, - | next_retry, - | last_failure + | meta_next_retry, + | meta_last_failure | FROM public.presentation_records """.stripMargin .query[PresentationRecord] @@ -184,8 +184,8 @@ class JdbcPresentationRepository( | presentation_data, | credentials_to_use, | meta_retries, - | next_retry, - | last_failure + | meta_next_retry, + | meta_last_failure | FROM public.presentation_records | WHERE $inClauseFragment """.stripMargin @@ -213,8 +213,8 @@ class JdbcPresentationRepository( | presentation_data, | credentials_to_use, | meta_retries, - | next_retry, - | last_failure + | meta_next_retry, + | meta_last_failure | FROM public.presentation_records | WHERE id = $recordId """.stripMargin @@ -242,8 +242,8 @@ class JdbcPresentationRepository( | presentation_data, | credentials_to_use, | meta_retries, - | next_retry, - | last_failure + | meta_next_retry, + | meta_last_failure | FROM public.presentation_records | WHERE thid = $thid """.stripMargin