From 279b4879616c9794b4f4ad1da73d5b08d9c28468 Mon Sep 17 00:00:00 2001 From: Livio Spring Date: Mon, 5 Sep 2022 10:29:32 +0200 Subject: [PATCH] fix: use correct db schema (#4308) --- internal/authz/repository/eventsourcing/view/error_event.go | 2 +- internal/authz/repository/eventsourcing/view/sequence.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/authz/repository/eventsourcing/view/error_event.go b/internal/authz/repository/eventsourcing/view/error_event.go index 14dad9f0e0..d343d5820a 100644 --- a/internal/authz/repository/eventsourcing/view/error_event.go +++ b/internal/authz/repository/eventsourcing/view/error_event.go @@ -5,7 +5,7 @@ import ( ) const ( - errTable = "authz.failed_events" + errTable = "auth.failed_events" ) func (v *View) saveFailedEvent(failedEvent *repository.FailedEvent) error { diff --git a/internal/authz/repository/eventsourcing/view/sequence.go b/internal/authz/repository/eventsourcing/view/sequence.go index 5d01d5dd74..8f1c720e6f 100644 --- a/internal/authz/repository/eventsourcing/view/sequence.go +++ b/internal/authz/repository/eventsourcing/view/sequence.go @@ -8,7 +8,7 @@ import ( ) const ( - sequencesTable = "authz.current_sequences" + sequencesTable = "auth.current_sequences" ) func (v *View) saveCurrentSequence(viewName string, event *models.Event) error {