From 5b4cc67fda4e5267ffc6b781af96e8912b877607 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sun, 14 May 2023 03:39:16 +0400 Subject: [PATCH] Distinguish sqlite DB for Mindflow as well. --- cmd/dwelling-home/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/dwelling-home/main.go b/cmd/dwelling-home/main.go index 88fc8b7..8cbccff 100644 --- a/cmd/dwelling-home/main.go +++ b/cmd/dwelling-home/main.go @@ -13,7 +13,7 @@ import ( "time" "git.arav.su/Arav/dwelling-home/internal/http" - "git.arav.su/Arav/dwelling-home/pkg/mindflow/database/sqlite" + mfsqlite "git.arav.su/Arav/dwelling-home/pkg/mindflow/database/sqlite" gbsqlite "git.arav.su/Arav/justguestbook/database/sqlite" ) @@ -93,7 +93,7 @@ func main() { srv.PATCH("/api/guestbook/:id/reply", guestbookApi.EditReply) srv.DELETE("/api/guestbook/:id/reply", guestbookApi.DeleteReply) - mindflowDB, err := sqlite.NewSQLiteMindflow(path.Join(*databasesPath, "mindflow.sqlite")) + mindflowDB, err := mfsqlite.NewSQLiteMindflow(path.Join(*databasesPath, "mindflow.sqlite")) if err != nil { log.Fatalln(err) }