From 779c86d8ac4fade4d49b43a656a4bbb98dc194f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Sat, 28 Sep 2024 00:13:22 +0200 Subject: [PATCH] Fix error after migration (preprocessor no reinitialized) --- scnserver/db/impl/logs/database.go | 2 ++ scnserver/db/impl/primary/database.go | 2 ++ scnserver/db/impl/requests/database.go | 2 ++ 3 files changed, 6 insertions(+) diff --git a/scnserver/db/impl/logs/database.go b/scnserver/db/impl/logs/database.go index 01c61c1..2094f9e 100644 --- a/scnserver/db/impl/logs/database.go +++ b/scnserver/db/impl/logs/database.go @@ -151,6 +151,8 @@ func (db *Database) Migrate(outerctx context.Context) error { } currschema = currschema + 1 + + ppReInit = true } } diff --git a/scnserver/db/impl/primary/database.go b/scnserver/db/impl/primary/database.go index c41c6b4..6d65eb8 100644 --- a/scnserver/db/impl/primary/database.go +++ b/scnserver/db/impl/primary/database.go @@ -151,6 +151,8 @@ func (db *Database) Migrate(outerctx context.Context) error { } currschema = currschema + 1 + + ppReInit = true } } diff --git a/scnserver/db/impl/requests/database.go b/scnserver/db/impl/requests/database.go index 60f3821..8d935c7 100644 --- a/scnserver/db/impl/requests/database.go +++ b/scnserver/db/impl/requests/database.go @@ -151,6 +151,8 @@ func (db *Database) Migrate(outerctx context.Context) error { } currschema = currschema + 1 + + ppReInit = true } }